Tom Scott
2deb9da0ab
Upgrade to HTTP.rb v4 ( #9 )
...
This allows Goldfinger to run against the HTTP gem v4.x, by updating the
`HTTP.timeout` syntax used in `Goldfinger::Request`.
2019-01-14 09:23:20 +00:00
MIYAGI Hikaru
d5f16ebeca
Enable to pass options to HTTP.rb, Allow insecure request ( #6 )
...
* Enable to pass options to HTTP.rb, Allow insecure request
* Move SSL option to the hash
* fix a bug
2018-01-22 00:11:46 +01:00
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
eddf330c22
The Webfinger spec now mandates a standard URL. Check that URL first, instead of
...
checking host-meta first (which may actually not be present). Bump to 1.2.0
2017-04-27 16:25:20 +02:00
Eugen Rochko
73a44507c6
Making content-type checking less strict (allow text/xml)
2016-10-12 20:58:17 +02:00
Eugen Rochko
3fae9826cf
Catch XML syntax errors
2016-09-30 23:06:11 +02:00
Eugen Rochko
592248e4a7
Add timeouts to requests, update dependencies, bump to 1.0.3
2016-09-20 01:09:05 +02:00
Eugen Rochko
f0a7a9baf3
Goldfinger aborts if webfinger response mime type is an unexpected value it can't parse
2016-03-07 12:23:48 +01: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
102ac2c99f
Adding error handling and more test cases
2016-02-17 16:18:46 +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