GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
Appply the same changes as #5598 for to have the value normalized with lowercase
Is there a reason to, though?
The current implementation is fully conforming to the spec, and with getFieldValue not promising any normalization in the (missing) API documentation, the implementation also does not contradict the documentation.
In any case, here's a relevant RFC page.
@denis-sokolov this header is case insensitive so the correct way to deal with a mix of lower and upper cases is to have all in the same way.
PD: The RFC of your link is not related since is for MIME and not HTTP.
Hello! Can anyone check that my fix is valid and say if i can send pull request?
@god107, you should definitely remove the @todo line in the same commit.
Other than that, looks good.
I've fixed this:
What about writing test?
Now it should be done right.
#5665 Normalize Http Content-Transfer-Encoding
zendframework/zendframework#5665 Normalize Http Content-Transfer-Enc…
zendframework/zendframework#5665 Fix in test for JsonStrategy