Skip to content

Commit 688b9c2

Browse files
java-team-github-botGoogle Java Core Libraries
authored and
Google Java Core Libraries
committedNov 16, 2022
Add HttpHeaders constants for No-Vary-Search.
RELNOTES=`net`: Added `HttpHeaders` constants for `No-Vary-Search`. PiperOrigin-RevId: 488976193
1 parent 7e87414 commit 688b9c2

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed
 

‎android/guava/src/com/google/common/net/HttpHeaders.java

+7
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,13 @@ private ReferrerPolicyValues() {}
316316
* @since 31.0
317317
*/
318318
public static final String KEEP_ALIVE = "Keep-Alive";
319+
/**
320+
* The HTTP <a href="https://github.com/WICG/nav-speculation/blob/main/no-vary-search.md">{@code
321+
* No-Vary-Seearch}</a> header field name.
322+
*
323+
* @since NEXT
324+
*/
325+
public static final String NO_VARY_SEARCH = "No-Vary-Search";
319326
/**
320327
* The HTTP <a href="https://googlechrome.github.io/OriginTrials/#header">{@code Origin-Trial}</a>
321328
* header field name.

‎guava/src/com/google/common/net/HttpHeaders.java

+7
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,13 @@ private ReferrerPolicyValues() {}
316316
* @since 31.0
317317
*/
318318
public static final String KEEP_ALIVE = "Keep-Alive";
319+
/**
320+
* The HTTP <a href="https://github.com/WICG/nav-speculation/blob/main/no-vary-search.md">{@code
321+
* No-Vary-Seearch}</a> header field name.
322+
*
323+
* @since NEXT
324+
*/
325+
public static final String NO_VARY_SEARCH = "No-Vary-Search";
319326
/**
320327
* The HTTP <a href="https://googlechrome.github.io/OriginTrials/#header">{@code Origin-Trial}</a>
321328
* header field name.

0 commit comments

Comments
 (0)
Please sign in to comment.