Commit Graph

23 Commits

Author SHA1 Message Date
Yoann Lecuyer 224497c4a3 Add Signet::UnexpectedStatusError (#711) 2018-09-24 11:46:31 -07:00
Daniel Azuma 406fcb0032
Add logging to gemfile to fix specs (#707)
* Add logging to gemfile to fix specs
* Get rid of huge puts in the generator test that was overwhelming travis
* Fix HTTP tests by making the new Signet::RemoteServerError retriable
2018-08-22 13:42:05 -07:00
Sai Cheemalapati 2a4efbf3b9 Allow retry on Signet::AuthorizationError (#611) 2017-09-18 12:40:11 -07:00
Steve Bazyl 97ff7f4d9a #475, #488 -- allow raw JSON if explicitly requested, fix empty body handling & test cleanup 2017-03-31 15:26:51 -07:00
Steve Bazyl 489378db58 Ensure content length when empty body, hook up httpclient to logger when debugging 2017-03-31 14:59:07 -07:00
Steve Bazyl 5447ddb7c0 Don't normalize unicode in templates (fixed #557 + GCS issues) 2017-03-30 12:33:49 -07:00
Steve Bazyl c4d0ed5d3c Merge branch 'master' into v0.10 2017-03-29 16:25:34 -07:00
Steve Bazyl e13da8e05e Tighten use of form-encoding to only cases where a JSON body is not ever allowed 2016-09-08 13:40:30 -07:00
Steve Bazyl 2578736b44 #445 - Treat 429 status codes as rate limit errors 2016-08-17 13:58:07 -07:00
Steve Bazyl 2046e00f14 Remove Hurley as a dependency 2016-08-17 13:51:09 -07:00
Steve Bazyl 07ca6e8ca0 Handle SocketError. #359 2016-02-25 13:30:27 -08:00
Steve Bazyl acf2b0ec61 Merge branch 'master' of https://github.com/google/google-api-ruby-client 2016-02-25 09:39:46 -08:00
Steve Bazyl 2c1fd125e9 #369 - Form encode paramaters when method == post/put and no other body present 2016-02-25 09:35:38 -08:00
joker1007 b0173dc57a Assign `open_timeout` option in `apply_request_options` 2016-02-24 02:55:55 +09:00
Steve Bazyl 1715fc9945 Fix #326 - Normalize query parameters to allow falsey values 2015-12-20 15:22:13 -08:00
Steve Bazyl d47e96c572 Merge branch 'master' of https://github.com/google/google-api-ruby-client 2015-12-16 11:34:10 -08:00
railscard f51a4f25a9 Allow http command to keep initial query parameters 2015-12-14 06:16:31 +04:00
Steve Bazyl 0d07ea17f1 Merge branch 'master' of https://github.com/google/google-api-ruby-client 2015-12-02 17:12:21 -08:00
Steve Bazyl a1b5f6c2d2 Issue #290 - Fix redirects during downloads, only stream body content on 20x response. Includes temporary patch to Hurley until 0.3 released 2015-12-02 15:52:30 -08:00
Tony Novak 9535ffa44c No longer swallowing errors from block passed to execute
Fixes #309
2015-11-20 09:32:43 -05:00
Steve Bazyl 81a061cb80 Fix #292 - ensure multivalued parameters are encoded correctly 2015-10-02 13:31:19 -07:00
Steven Bazyl 2a9fd28176 Expose HTTP status code & body in errors 2015-07-20 12:36:13 -07:00
Steven Bazyl f584a2cec8 Import refactored library. See MIGRATING.MD for details 2015-06-23 15:15:14 -07:00