HTTPS clone URL
Subversion checkout URL
Please sign in to comment.
Ensure that header values are the same when recording and replaying.
- Typhoeus would have a single header value like 'text/html' when recording, but it was in an array on playback ['text/html']. - Faraday headers are returned with lower case keys, and I was not handling this properly at all. There are a few adapter/http library combinations that do not work properly when there are multiple values for one header: - Faraday/Patron - WebMock/HTTP Client - WebMock/EM HTTP Request - WebMock/Curb I think this is due to a bug in those libraries. I could change the way I pass headers to Faraday and WebMock, but that would break the other libs used with Faraday and WebMock (i.e. Faraday/Net::HTTP or WebMock/Net::HTTP) so I think it's best for now to just leave these pending. Closes #50.
- Loading branch information...
Showing with 71 additions and 10 deletions.