Skip to content

Commit

Permalink
Add HttpHeaders constants for No-Vary-Search.
Browse files Browse the repository at this point in the history
RELNOTES=`net`: Added `HttpHeaders` constants for `No-Vary-Search`.
PiperOrigin-RevId: 488976193
  • Loading branch information
java-team-github-bot authored and Google Java Core Libraries committed Nov 16, 2022
1 parent 7e87414 commit 688b9c2
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions android/guava/src/com/google/common/net/HttpHeaders.java
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,13 @@ private ReferrerPolicyValues() {}
* @since 31.0
*/
public static final String KEEP_ALIVE = "Keep-Alive";
/**
* The HTTP <a href="https://github.com/WICG/nav-speculation/blob/main/no-vary-search.md">{@code
* No-Vary-Seearch}</a> header field name.
*
* @since NEXT
*/
public static final String NO_VARY_SEARCH = "No-Vary-Search";
/**
* The HTTP <a href="https://googlechrome.github.io/OriginTrials/#header">{@code Origin-Trial}</a>
* header field name.
Expand Down
7 changes: 7 additions & 0 deletions guava/src/com/google/common/net/HttpHeaders.java
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,13 @@ private ReferrerPolicyValues() {}
* @since 31.0
*/
public static final String KEEP_ALIVE = "Keep-Alive";
/**
* The HTTP <a href="https://github.com/WICG/nav-speculation/blob/main/no-vary-search.md">{@code
* No-Vary-Seearch}</a> header field name.
*
* @since NEXT
*/
public static final String NO_VARY_SEARCH = "No-Vary-Search";
/**
* The HTTP <a href="https://googlechrome.github.io/OriginTrials/#header">{@code Origin-Trial}</a>
* header field name.
Expand Down

0 comments on commit 688b9c2

Please sign in to comment.