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

myronmarston opened this Issue Aug 3, 2010 · 1 comment


None yet
2 participants

myronmarston commented Aug 3, 2010

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 commented Aug 15, 2010

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