Opened 4 months ago

Closed 4 months ago

#35664 closed Uncategorized (invalid)

204 in HTTP or HTTPS

Reported by: oceanusXXD Owned by:
Component: Uncategorized Version: 3.2
Severity: Normal Keywords: 204, http,
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

when i use react and Django to create my app, when i set response with status code 204 with some content in Chrome, if the url begin with https, it will response pending on the web and it do not return any thing, but when i use http://localhost:8080, it will return 204 with other content, Why is it that this non-compliant request can get a response over HTTP, but is restricted over HTTPS?I use http://localhost:8080 and a cloud server in the same environment, my function is. return HttpResponse( json.dumps({'message':'delete successfully '}),content_type='application/json',status=204) ,when i use curl ,the data will be deleted in database and the program will over, but when i use curl to request the cloud server (https), the data also be deleted, but the program without any response, when I debug in the chrome, i saw the status and size is “(pending)”,

Change History (1)

comment:1 by Sarah Boyce, 4 months ago

Resolution: invalid
Status: newclosed

See TicketClosingReasons/UseSupportChannels for ways to get help

Note: See TracTickets for help on using tickets.
Back to Top