Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Unsupported Want-Digest headers #231

Open
acoburn opened this issue Oct 11, 2018 · 0 comments
Open

Unsupported Want-Digest headers #231

acoburn opened this issue Oct 11, 2018 · 0 comments

Comments

@acoburn
Copy link

acoburn commented Oct 11, 2018

The test suite expects a 4xx failure response for requests containing an unsupported Want-Digest header.

For example, given Want-Digest: abc in the request, the test suite expects a 400 Bad Request response.

This, however, does not align with RFC 3230. Nowhere does it state in that specification that a server, when presented with an unsupported digest value, must (or even should) respond with a 4xx error. In fact, there is already a simple mechanism defined by RFC 3230 to determine whether a digest is supported: look for it in the Digest header of the response.

If a client sends an unsupported Want-Digest value, such as abc, the test suite should simply verify that no Digest: abc=<....> value is present in the response.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant