-
Notifications
You must be signed in to change notification settings - Fork 845
Add slice config to strip Range header for HEAD requests #9238
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
Conversation
traeak
left a comment
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.
Tests run fine, looks okay.
|
[approve ci autest] |
bneradt
left a comment
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.
Looks good to me. I just have a few minor test suggestions.
tests/gold_tests/pluginTest/slice/replay/slice_range.replay.yaml
Outdated
Show resolved
Hide resolved
bneradt
left a comment
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.
Looks good to me.
|
I'm going to defer this to 10.0.0, since it's a feature change and I really don't want to make a 9.3.0 release but rather focus on 10.0.0. |
|
id be +1 on this for 9.2.1, it's an experimental plugin so not a large change to core code and its pretty isolated in the change as well |
* Add slice plugin config to strip Range header for HEAD requests * Remove trailing whitespaces * Add Head to config name for clarity * Add verification directives to autest replay Co-authored-by: Serris Lew <lserris@apple.com> (cherry picked from commit b5c45a3)
|
Cherry-picked to v9.2.x |
* asf/9.2.x: Updated ChangeLog Add slice config to strip Range header for HEAD requests (apache#9238) s3_auth: Schedule reloading config event on TASK thread (apache#9328) Don't send response body on status 204 No Content (apache#9330)
Added config in slice plugin to remove Range header from HEAD requests. When enabled, HEAD requests going through slice will always return full object content length
@pparam=--strip-range-for-head