Skip to content

Commit 6dc07fa

Browse files
java-team-github-botGoogle Java Core Libraries
authored andcommitted
Automated Code Change
RELNOTES=Added headers defined by https://github.com/WICG/signature-based-sri to `HttpHeaders`. PiperOrigin-RevId: 735825945
1 parent 88467fd commit 6dc07fa

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,9 @@ private HttpHeaders() {}
7171
/** The HTTP {@code Accept-Language} header field name. */
7272
public static final String ACCEPT_LANGUAGE = "Accept-Language";
7373

74+
/** The HTTP {@code Accept-Signature} header field name. */
75+
public static final String ACCEPT_SIGNATURE = "Accept-Signature";
76+
7477
/** The HTTP {@code Access-Control-Request-Headers} header field name. */
7578
public static final String ACCESS_CONTROL_REQUEST_HEADERS = "Access-Control-Request-Headers";
7679

@@ -369,6 +372,9 @@ private ReferrerPolicyValues() {}
369372
/** The HTTP {@code Expires} header field name. */
370373
public static final String EXPIRES = "Expires";
371374

375+
/** The HTTP {@code Identity-Digest} header field name. */
376+
public static final String IDENTITY_DIGEST = "Identity-Digest";
377+
372378
/** The HTTP {@code Last-Modified} header field name. */
373379
public static final String LAST_MODIFIED = "Last-Modified";
374380

@@ -445,6 +451,12 @@ private ReferrerPolicyValues() {}
445451
/** The HTTP {@code Set-Cookie2} header field name. */
446452
public static final String SET_COOKIE2 = "Set-Cookie2";
447453

454+
/** The HTTP {@code Signature} header field name. */
455+
public static final String SIGNATURE = "Signature";
456+
457+
/** The HTTP {@code Signature-Input} header field name. */
458+
public static final String SIGNATURE_INPUT = "Signature-Input";
459+
448460
/**
449461
* The HTTP <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/SourceMap">{@code
450462
* SourceMap}</a> header field name.

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,9 @@ private HttpHeaders() {}
7171
/** The HTTP {@code Accept-Language} header field name. */
7272
public static final String ACCEPT_LANGUAGE = "Accept-Language";
7373

74+
/** The HTTP {@code Accept-Signature} header field name. */
75+
public static final String ACCEPT_SIGNATURE = "Accept-Signature";
76+
7477
/** The HTTP {@code Access-Control-Request-Headers} header field name. */
7578
public static final String ACCESS_CONTROL_REQUEST_HEADERS = "Access-Control-Request-Headers";
7679

@@ -369,6 +372,9 @@ private ReferrerPolicyValues() {}
369372
/** The HTTP {@code Expires} header field name. */
370373
public static final String EXPIRES = "Expires";
371374

375+
/** The HTTP {@code Identity-Digest} header field name. */
376+
public static final String IDENTITY_DIGEST = "Identity-Digest";
377+
372378
/** The HTTP {@code Last-Modified} header field name. */
373379
public static final String LAST_MODIFIED = "Last-Modified";
374380

@@ -445,6 +451,12 @@ private ReferrerPolicyValues() {}
445451
/** The HTTP {@code Set-Cookie2} header field name. */
446452
public static final String SET_COOKIE2 = "Set-Cookie2";
447453

454+
/** The HTTP {@code Signature} header field name. */
455+
public static final String SIGNATURE = "Signature";
456+
457+
/** The HTTP {@code Signature-Input} header field name. */
458+
public static final String SIGNATURE_INPUT = "Signature-Input";
459+
448460
/**
449461
* The HTTP <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/SourceMap">{@code
450462
* SourceMap}</a> header field name.

0 commit comments

Comments
 (0)