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

Add constant for 'Alt-Svc' to com.google.common.net.HttpHeaders #7373

Closed
3 tasks done
sdavids opened this issue Aug 25, 2024 · 1 comment
Closed
3 tasks done

Add constant for 'Alt-Svc' to com.google.common.net.HttpHeaders #7373

sdavids opened this issue Aug 25, 2024 · 1 comment
Assignees
Labels
P3 package=net type=enhancement Make an existing feature better

Comments

@sdavids
Copy link

sdavids commented Aug 25, 2024

API(s)

com.google.common.net.HttpHeaders

How do you want it to be improved?

Please add a constant for Alt-Svc.

Why do we need it to be improved?

https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Alt-Svc

Example

response.setHeader(HttpHeaders.ALT_SVC, "h3-25=\":443\"; ma=3600, h2=\":443\"; ma=3600");

Current Behavior

no constant

Desired Behavior

constant for "Alt-Svc" exists

Concrete Use Cases

HTTP/3 endpoint advertisement in Java-based API gateway.

Checklist

@kluever
Copy link
Member

kluever commented Oct 2, 2024

Fixed via 503ba42

@kluever kluever closed this as completed Oct 2, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
P3 package=net type=enhancement Make an existing feature better
Projects
None yet
Development

No branches or pull requests

3 participants