Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Multiple values for the same response header are not treated properly #17

Closed
myronmarston opened this Issue · 1 comment

2 participants

@myronmarston

Mechanize expects response.get_fields('Set-Cookie') to return an array of strings, but the current version of fakeweb returns an array-of-an-array of strings when you try to set multiple values for the set-cookie header using :set_cookie = ['val1', 'val2'].

I've got a commit that solves this issue.

See this issue in VCR for more context and info.

@chrisk
Owner

Merged in 058b122. Thanks!

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.