1
0
Fork 0
mirror of https://github.com/jnunemaker/httparty synced 2023-03-27 23:23:07 -04:00
httparty/features
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
..
steps Fix #713 2020-10-30 22:04:48 -06:00
basic_authentication.feature Cucumber suite sends unique requests 2010-07-07 08:54:22 -04:00
command_line.feature Output httparty version at command line with --version 2015-07-08 11:23:36 -04:00
deals_with_http_error_codes.feature Cucumber suite sends unique requests 2010-07-07 08:54:22 -04:00
digest_authentication.feature Added support for RFC2617 MD5-sess algorithm type 2015-08-18 13:06:39 +10:00
handles_compressed_responses.feature Support gzip/deflate transfer encoding when explicit headers are set. 2019-11-28 15:23:35 -08:00
handles_multiple_formats.feature fix cucumber steps for csv array response 2014-02-08 20:37:37 +01:00
supports_marshalling_with_logger_and_proc.feature Fix #713 2020-10-30 22:04:48 -06:00
supports_read_timeout_option.feature read/open timeout options now available to HTTParty 2014-03-10 11:35:24 -04:00
supports_redirection.feature Cucumber suite sends unique requests 2010-07-07 08:54:22 -04:00
supports_timeout_option.feature Cucumber suite sends unique requests 2010-07-07 08:54:22 -04:00