Skip to content
This repository was archived by the owner on Jan 30, 2020. It is now read-only.

Curl Adapter Needs to Look for Case Insensitive Headers #50

Closed
KarunaGovind opened this issue Feb 22, 2016 · 2 comments
Closed

Curl Adapter Needs to Look for Case Insensitive Headers #50

KarunaGovind opened this issue Feb 22, 2016 · 2 comments
Labels

Comments

@KarunaGovind
Copy link

\Zend\Http\Client\Adapter\Curl removes a few response headers (namely Transfer-Encoding, Content-Encoding) to make sure \Zend\Http\Response behaves correctly.

However, it assumes response headers have fixed cases. The AWS ELB in particular returns "transfer-encoding" as all lower case, therefore the code needs to do a case insensitive replace.

@rsacksteder
Copy link

Ran into this exact same issue! Hopefully this can be reviewed and pulled into the next release.

@samsonasik
Copy link
Contributor

can be closed as it seems fixed at #53

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants