New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hammer: rgw: backport content-type casing #5910
Conversation
I put |
@kmroz: the make check bot likes your PR :-) |
@smithfarm a good start ;) |
@kmroz: In the PR description you listed the original issues that were fixed in master, but for hammer we need the hammer backport tracker numbers instead: http://tracker.ceph.com/issues/12859 Please update the description. |
Once #5718 is merged, this backport will get a lot simpler :-) |
@smithfarm Will update the tracker numbers after #5718 merge. Thanks for the heads up. |
It turns out, despite the HTTP spec declaring that header field names should be case-insensitive, some clients treat them wrongly, and consider "Content-type" to not match "Content-Type". CyberDuck was one of those clients, now fixed upstream in https://trac.cyberduck.io/ticket/8999 To reduce future occurances of this bug, fix the casing of the Content-Type header, to strictly comply with the HTTP specification (be strict about what you send, and generous about what you receive). Fixes: #12939 Backport: infernalis, hammer, firefly Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com> (cherry picked from commit 1b9fbff)
Perfect. I've checked #5718 and it contains the rgw commits that I originally tried to backport along with the casing fix in the above commit. @smithfarm - can we trigger the testsuite to re-run on this PR? |
Looks that @loic-bot is all over it ;) |
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: Loic Dachary <ldachary@redhat.com>
@yehudasa does this backport look good to merge ? It passed a run of the hammer rgw suite ( see http://tracker.ceph.com/issues/13356#note-23 ). |
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: Loic Dachary <ldachary@redhat.com>
@yehudasa ping ? |
@dachary lgtm |
rgw: backport content-type casing Reviewed-by: Yehuda Sadeh <ysadehwe@redhat.com>
Addresses: http://tracker.ceph.com/issues/13047
Since #5718 was recently merged into hammer (improving the
surrouding content-type code) it appears now is a good time to backport the content-type casing
fix.