h-tadagawa / rest-client

Automatically exported from code.google.com/p/rest-client
Apache License 2.0
0 stars 0 forks source link

Requests are sent with Content-Type: text/plain even though another type is selected in the UI #65

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a POST request, on the the Request Body tab, click the icon and
set the content type to application/atom+xml
2. Execute the request against a server which logs the request HTTP headers

What is the expected output? What do you see instead?
The Content-Type header in the HTTP request is text/plain; charset=UTF-8,
rather than application/atom+xml; charset=UTF-8 as was set in the UI.

What version of the product are you using? On what operating system?
RESTClient 2.2a1 on CentOS 5 Linux

Please provide any additional information below.
This worked in a build I did after issue
http://code.google.com/p/rest-client/issues/detail?id=49 was fixed back in
March, so there appears to be a regression.

Original issue reported on code.google.com by scarhill on 11 Aug 2008 at 3:10

GoogleCodeExporter commented 8 years ago
Revision 281 has the fix. Thanks for identifying this important bug!

Original comment by subwiz on 11 Aug 2008 at 6:11

GoogleCodeExporter commented 8 years ago
I just downloaded the 2.3 release for Mac OS X and this bug is still present in 
that
version.  I have been trying to set the Content-Type to
"application/xml;charset=UTF-8" in both the UI and by hand in the XML file.  The
client will only send "text/html;charset=UTF-8" regardless of configuration.

Original comment by ryan.lam...@gmail.com on 9 Nov 2009 at 8:03