Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fixing the set-cookie header #246

Merged
merged 1 commit into from

2 participants

@jeromegn

Sometimes the "set-cookie" response header wasn't parsed as an Array. This had the effect of throwing an error about the cookie string not having the forEach method.

I'm honestly not sure how to write a test for that with the current way tests are made. I'm also unsure where that header was converted to an Array in the first place.

This is tentative at best. I can't claim to know the intricacies of Request, but I'm willing to learn them if you point me in the right direction.

@mikeal mikeal merged commit 9611f4c into request:master
@cybdoom cybdoom referenced this pull request from a commit in cybdoom/EbayAmazonApiServer
@cybdoom cybdoom