1
0
Fork 0
mirror of https://github.com/jnunemaker/httparty synced 2023-03-27 23:23:07 -04:00
httparty/spec
J. Morgan Lieberthal 77d11c6ca3 Fix #713
This PR fixes the issue(s) described in #713. To fix the logger option
issue, I simply delete `Request.options[:logger]` when dumping. To fix
the proc parser issue, I delete `Request.options[:parser]` if and only
if `Request.options[:logger]` is a proc. If `Request.options[:logger]`
is a regular class, `Marshal.dump` should proceed as normal. This should
not affect the `Marshal.dump` behavior described in issue #143 and fixed
by PR #618.

I have added a feature spec to make sure marshalling the request
works as intended, as well as a unit test to ensure
`Marshal.load(Marshal.dump(req))` works as it should.
2020-10-30 22:04:48 -06:00
..
fixtures Generate larger keys for tests (#653) 2019-03-21 14:52:05 +04:00
httparty Fix #713 2020-10-30 22:04:48 -06:00
support Expose .connection on block param (#648) 2019-03-20 18:50:06 +04:00
httparty_spec.rb Pass options to dynamic block headers (#661) 2019-08-30 18:55:03 +03:00
spec_helper.rb [WIP] Fix encoding of streamed chunk (#644) 2019-02-11 17:49:30 +04:00