h-tadagawa / rest-client

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

Encoding error when trying to load jpeg file as request body #95

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Go to Body tab
2. Click "Load from file" button
3. Click "Yes" to dialog "Body text exists. Erase?"
4. Select a jpg file, e.g "test.jpg"

What is the expected output? What do you see instead?
-I should get a successful file load.  Always shows error: "IO Error: File
not in supported encoding (UTF-8).    Additionally this happens regardless
of any attempt to manually change "Edit Content-type & Charset" before
loading file.

What version of the product are you using? On what operating system?
-restclient-ui-2.3-jar-with-dependencies.jar
-Windows Vista

Please provide any additional information below.

Original issue reported on code.google.com by bugla...@gmail.com on 19 Oct 2009 at 8:44

GoogleCodeExporter commented 8 years ago
Yes, this is a known issue. Right now we are not supporting any content other 
than 
UTF-8 encoded text as body. Since many people are asking for this 
functionality, I 
will increase the priority for this and try to support binary formats.

Original comment by subwiz on 20 Oct 2009 at 1:45

GoogleCodeExporter commented 8 years ago
r444 has the changes to accomodate this feature. This is the start. Lots more 
work to 
do to bring it to a good shape :-)

Original comment by subwiz on 21 Oct 2009 at 4:48

GoogleCodeExporter commented 8 years ago

Original comment by subwiz on 23 Oct 2009 at 12:09

GoogleCodeExporter commented 8 years ago
Hi,

Is this functionality fixed in the trunk? I checked out and built the trunk, 
but am still seeing the same error. It would be great to know the status.

Original comment by rama.cas...@gmail.com on 14 Jun 2011 at 9:04

GoogleCodeExporter commented 8 years ago
We evaluated the tool and this bug basically prevents our project from using it.

Original comment by risto.ku...@gmail.com on 11 Aug 2011 at 1:42

GoogleCodeExporter commented 8 years ago
I was not able to incorporate this fix in the code due to stability issues. The 
code has been moved to an experimental branch. Sorry for the inconvenience.

Original comment by subwiz on 15 Aug 2011 at 1:40

GoogleCodeExporter commented 8 years ago
2.6 version of RESTClient will have Ignore Response Body checkbox:

http://www.flickr.com/photos/subwiz/7604676708/

This is not a solution, but a quick workaround.

Original comment by subwiz on 22 Jul 2012 at 7:00

GoogleCodeExporter commented 8 years ago
Fixed in trunk. The trunk build is NO longer backward compatible with older 
version format.

Original comment by subwiz on 10 Aug 2012 at 5:26