Closed nazarhussain closed 5 years ago
Any one looking on this very old PR. Any plan to merge?
This sounds good. Would you mind adding a basic test though?
I decided to merge #31 instead. I like that it's just a new property on Sawyer::Response
, so it doesn't require any new #call
args to use. It should work for your use case too, assuming your marshalled data isn't using a json or msgpack content type header.
Thanks for your help!
I came up with a use case when I need raw response body. In spite of headers set to some certain media type, response body was containing some marshalled data which was not been parsed. So in case we need to get raw body to process ourself.