Skip to content

Commit

Permalink
Add Sec-CH-UA-Wow64 to HttpHeaders.
Browse files Browse the repository at this point in the history
Spec: https://wicg.github.io/ua-client-hints/#sec-ch-ua-wow64

RELNOTES=`net`: Added `HttpHeaders` constant `Sec-CH-UA-Wow64`.
PiperOrigin-RevId: 471292642
  • Loading branch information
java-team-github-bot authored and Google Java Core Libraries committed Aug 31, 2022
1 parent 32f7a37 commit 49e6b9c
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ public void testConstantNameMatchesString() throws Exception {
.put("CDN_LOOP", "CDN-Loop")
.put("ETAG", "ETag")
.put("SOURCE_MAP", "SourceMap")
.put("SEC_CH_UA_WOW64", "Sec-CH-UA-WoW64")
.put("SEC_WEBSOCKET_ACCEPT", "Sec-WebSocket-Accept")
.put("SEC_WEBSOCKET_EXTENSIONS", "Sec-WebSocket-Extensions")
.put("SEC_WEBSOCKET_KEY", "Sec-WebSocket-Key")
Expand Down
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 @@ -699,6 +699,13 @@ private ReferrerPolicyValues() {}
* @since 30.0
*/
public static final String SEC_CH_UA_MOBILE = "Sec-CH-UA-Mobile";
/**
* The HTTP <a href="https://wicg.github.io/ua-client-hints/#sec-ch-ua-wow64">{@code
* Sec-CH-UA-WoW64}</a> header field name.
*
* @since NEXT
*/
public static final String SEC_CH_UA_WOW64 = "Sec-CH-UA-WoW64";
/**
* The HTTP <a href="https://wicg.github.io/ua-client-hints/#sec-ch-ua-bitness">{@code
* Sec-CH-UA-Bitness}</a> header field name.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ public void testConstantNameMatchesString() throws Exception {
.put("CDN_LOOP", "CDN-Loop")
.put("ETAG", "ETag")
.put("SOURCE_MAP", "SourceMap")
.put("SEC_CH_UA_WOW64", "Sec-CH-UA-WoW64")
.put("SEC_WEBSOCKET_ACCEPT", "Sec-WebSocket-Accept")
.put("SEC_WEBSOCKET_EXTENSIONS", "Sec-WebSocket-Extensions")
.put("SEC_WEBSOCKET_KEY", "Sec-WebSocket-Key")
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 @@ -699,6 +699,13 @@ private ReferrerPolicyValues() {}
* @since 30.0
*/
public static final String SEC_CH_UA_MOBILE = "Sec-CH-UA-Mobile";
/**
* The HTTP <a href="https://wicg.github.io/ua-client-hints/#sec-ch-ua-wow64">{@code
* Sec-CH-UA-WoW64}</a> header field name.
*
* @since NEXT
*/
public static final String SEC_CH_UA_WOW64 = "Sec-CH-UA-WoW64";
/**
* The HTTP <a href="https://wicg.github.io/ua-client-hints/#sec-ch-ua-bitness">{@code
* Sec-CH-UA-Bitness}</a> header field name.
Expand Down

0 comments on commit 49e6b9c

Please sign in to comment.