PriyaranjanMohapatra / rest-client

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

Simply discard non-UTF-8 response #108

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
In some cases, I'm interested in headers of non-UTF8 response like PDF
files (expiry and cache-control, for example).

In this cases it would be good, if RestClient wouldn't just quit with an
error message, but would discard the response (for me, it's OK to not
handle non-UTF-8 responses), show an appropriate message in the body
section and display the other fields (especially the headers). Should be
quite easy to implement with a try/catch statement, shouldn't it?

Original issue reported on code.google.com by m.str...@kinetiqa.de on 30 Mar 2010 at 7:45

GoogleCodeExporter commented 8 years ago
This is a good suggestion. Will try to implement.

Original comment by subwiz on 28 Jun 2010 at 7:31

GoogleCodeExporter commented 8 years ago
r477 has the fix.

Original comment by subwiz on 3 Sep 2010 at 10:28