-
-
Notifications
You must be signed in to change notification settings - Fork 15.8k
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
Http2Headers pseudoheader setting methods incorrectly documented #8068
Comments
@Scottmitch @trustin thoughts ? |
@trustin @ejona86 @carl-mastrangelo @Scottmitch ping... |
Looks like a typo. The blame line shows that being present for a while. I'm not sure what the docs mean: Does it clear the header if it doesnt exist? Does it clear it if it doesn't apply (such as in a response header)? I would support making the doc take no position on the matter. |
The doc does seem wrong. Null doesn't even make sense in that context. Seems it should be "Sets the {@link PseudoHeaderName#METHOD} header". |
@ejona86 want to do a PR ? |
Motivation: The javadocs of Http2Headers.method(...) are incorrect, we should fix these. Modifications: Correct javadocs Result: Fixes #8068.
Motivation: The javadocs of Http2Headers.method(...) are incorrect, we should fix these. Modifications: Correct javadocs Result: Fixes #8068.
Motivation: The javadocs of Http2Headers.method(...) are incorrect, we should fix these. Modifications: Correct javadocs Result: Fixes #8068.
Here in the docs it says the setter sets the header conditionally, but it seems to actually be unconditional.
Docs:
Implementation:
One of these is wrong, but I don't know which one it is.
The text was updated successfully, but these errors were encountered: