…h same args. I got this warning from VCR on some tests using fog/excon to download a file from S3 over SSL: WARNING: VCR could not extract a response from Excon error (#<OpenSSL::SSL::SSLError: hostname does not match the server certificate>) I discovered that the SSL cert verification for a real request w/o VCR was made against `s3.amazonaws.com`, while the verification for the request being recorded by VCR was made against `<bucket_name>.s3.amazonaws.com`. The difference is due to the fact that fog constructs an Excon::Connection instance with a URI of `s3.amazonaws.com`, then makes a request with a :host param set to the FQDN. Before this commit, VCR made the real request by constructing a new Excon::Connection instance with the URI set to the full URI, and it caused the SSL cert verification failure. This fixes it by ensuring the "real request" connection instance is constructed with the same args as the original connection instance.
…ng Net::HTTP's recursion directly.
Previously I assumed a single Net::HTTP request object would only be used for a single request. It turns out it can trivially be re-used. I've refactored the implementation to no longer assume that. The request object was being used to hold a VCR request type object to handle internal recursion performed by Net::HTTP; now I have a special recursive request handler for this situation. Closes #178.
…ack. Previously, if there was an error while ejecting the cassette, the cassette would remain as the current cassette. Closes #175.
Previously, #partial_uri_from would return nil for a URI that lacked a query, which meant that it would automatically match any other URI w/o a query, even if they were wildly different.
JRuby and Rubinius print errors a bit different (e.g. extra spacing, different placement of error class relative to the error message w/ a multiline message).
- Add cuke. - Add #assert_no_unused_interactions! call from Cassette#eject. - Rename error class to match option. - Various other small fixes.
…on in with http interaction list; Added default option
…uests have been skipped