app-restconsole icon indicating copy to clipboard operation
app-restconsole copied to clipboard

Content-Type request header not sent

Open jmerhar opened this issue 12 years ago • 2 comments

I noticed a very strange bug:

  1. I make a POST request with Content-Type "application/x-www-form-urlencoded" and Accept set to a vendor media type.
  2. The request executes fine and the server returns a response with Content-Type set to the same vendor media type.
  3. I then press "Send" again, with exactly the same settings, and the Content-Type header is no longer sent with the request.
  4. This happens for every subsequent request until I change the Content-Type of the response to something like "text/html". After that it starts working again.

Does the Content-Type response header of the previous request somehow affect the Content-Type request header of the next one?

jmerhar avatar Feb 21 '13 17:02 jmerhar

my issue with content type is similar, it actually is set to application/xml if left blank

shveik avatar Mar 29 '13 15:03 shveik

both issues are certainly not the expected behaviour ... it may be related to new versions of Chrome ... currently investigating.

ahmadnassri avatar Apr 03 '13 23:04 ahmadnassri