Commit Graph

8 Commits

Author SHA1 Message Date
Yamagishi Kazutoshi 29dce59043 Cast HTTP response body for JSON to string (regression from #4) (#5)
Oj uses `readpartial` instead of `to_s` if the value given for the arguments has a `readpartial` method.
Also, HTTP.rb splits the response if `Transfer-Encoding: chunked` is returned in the HTTP headers.

Will use `to_s` like `JSON.parse` which was used previously.
2017-08-04 14:05:28 +02:00
Eugen Rochko 13d8b032fd Update dependencies, do not mask HTTP/OpenSSL exceptions, do not fallback to HTTP (#4)
if HTTPS is not available
2017-07-19 23:36:11 +02:00
Eugen Rochko 73a44507c6 Making content-type checking less strict (allow text/xml) 2016-10-12 20:58:17 +02:00
Eugen Rochko f127a1f30f Implement RFC 7033, bump version to 1.0.0, add some documentation 2016-02-17 23:16:08 +01:00
Eugen Rochko 75f1b1faf9 Add handling for SSL errors, bump version to 0.1.1 2016-02-17 16:59:57 +01:00
Eugen Rochko 8b0d7af683 Adding gem version badge to README 2016-02-17 16:36:19 +01:00
Eugen Rochko fd04a39022 Adding tests 2016-02-17 16:02:27 +01:00
Eugen Rochko 724f0c6a80 Initial commit 2016-02-17 15:13:19 +01:00