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
rgw: make sending Content-Length in 204 and 304 responses controllable #10156
Conversation
Always nasty to violate RFCs, but understandable. In which situation is this required? Code looks good to me. |
@wido: thanks for the review. We need the configurable to pass RefStack due to the following test case:
You might also want to take a look on the PR #9188. Anyway, I'm putting the DNM tag. There is a new hope for fixing the issue in Tempest. |
Ok, great! I wouldn't want to encourage people to violate RFCs, they are there for a reason. Don't mind if this gets merged though. |
@rzarzynski do we still need this? |
@yehudasa: fortunately no :-) as our fix in Tempest has been merged. I will push 93629c0 in a separated pull request. Closing this one. |
This commit introduces a new configurable "rgw print prohibited content length" to let operator decide whether RadosGW complies to RFC 7230 (a part of the HTTP specification) or violates it but follows the Swift's behavior. Fixes: http://tracker.ceph.com/issues/16602 Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
29355f4
to
d8e3e64
Compare
@mattbenjamin: I've just pushed a version ported to current |
Manual testing:
However, Tempest has found a regression in |
@mattbenjamin: definitely the regression in Tempest is unrelated to the change. |
Created a ticket to track the issue: http://tracker.ceph.com/issues/18977. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the change appears logically and trivially correct; it's 100/200 subset rgw suite run has failures which are clearly unrelated, merging to avoid schedule impact
No description provided.