ahmadnassri / app-restconsole

HTTP Client and Request Visualizer and Constructor tool, helps developers build, debug and test RESTful APIs
243 stars 60 forks source link

Content-Type request header not sent #88

Open jmerhar opened 11 years ago

jmerhar commented 11 years ago

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?

shveik commented 11 years ago

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

ahmadnassri commented 11 years ago

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