h-tadagawa / rest-client

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

When Request Body is loaded from a binary file, don't show the binary data in the body viewer #19

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
It's not really useful to display the binary data as text.

Original issue reported on code.google.com by aviflax on 18 Feb 2008 at 7:44

GoogleCodeExporter commented 8 years ago
Developer Guys! How do we find if a String contains binary data?? Code snippets 
welcome!

Original comment by subwiz on 19 Feb 2008 at 5:24

GoogleCodeExporter commented 8 years ago
http://jchardet.sourceforge.net/

[or]

http://cpdetector.sourceforge.net/usage.shtml

might be helpful...

Original comment by subwiz on 25 Feb 2008 at 11:54

GoogleCodeExporter commented 8 years ago
Revision 216 will not allow binary files to be loaded. The error message 
displayed:

*IOError: File not in supported encoding (UTF-8)*

This will affect the following screens:

1. Body content loading from file.
2. Test script loading from file.
3. Multi-header loading from file.
3. Multi-parameter loading from file.

Of course, we expect content from text files in all these cases.

Original comment by subwiz on 12 Apr 2008 at 5:59

GoogleCodeExporter commented 8 years ago
I don't understand - are you saying that RESTclient won't be able to send 
binary content in a request body, at 
all? That wouldn't be great...

Original comment by aviflax on 14 Apr 2008 at 3:04

GoogleCodeExporter commented 8 years ago
Yes, for now there will be this limitation. Probably in the next major 
revision, when
we revise the storage format (now request and response are stored as XML), we 
will be
able to support that.

Original comment by subwiz on 14 Apr 2008 at 3:15

GoogleCodeExporter commented 8 years ago
A Limitations page has been added:

http://code.google.com/p/rest-client/wiki/Limitations

Moving this request to low priority.

Original comment by subwiz on 6 Aug 2008 at 8:40

GoogleCodeExporter commented 8 years ago
Planning to have a "Ignore Response Body" checkbox. This will not show the 
response body in the UI. Useful for validating response code, headers etc.

Original comment by subwiz on 11 Jul 2012 at 8:32

GoogleCodeExporter commented 8 years ago
r599 has the checkbox to Ignore Response Body.

Original comment by subwiz on 11 Jul 2012 at 3:27