Skip to content

Commit

Permalink
Add support for Early-Data HTTP header.
Browse files Browse the repository at this point in the history
RELNOTES=`net`: Added `HttpHeaders.EARLY_DATA`.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=214512011
  • Loading branch information
vasilvv authored and cgdecker committed Sep 28, 2018
1 parent 3912da1 commit e074cf1
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
Expand Up @@ -73,6 +73,13 @@ private HttpHeaders() {}
public static final String CONNECTION = "Connection";
/** The HTTP {@code Cookie} header field name. */
public static final String COOKIE = "Cookie";
/**
* The HTTP <a href="https://tools.ietf.org/html/rfc8470">{@code Early-Data}</a> header field
* name.
*
* @since NEXT
*/
public static final String EARLY_DATA = "Early-Data";
/** The HTTP {@code Expect} header field name. */
public static final String EXPECT = "Expect";
/** The HTTP {@code From} header field name. */
Expand Down
7 changes: 7 additions & 0 deletions guava/src/com/google/common/net/HttpHeaders.java
Expand Up @@ -73,6 +73,13 @@ private HttpHeaders() {}
public static final String CONNECTION = "Connection";
/** The HTTP {@code Cookie} header field name. */
public static final String COOKIE = "Cookie";
/**
* The HTTP <a href="https://tools.ietf.org/html/rfc8470">{@code Early-Data}</a> header field
* name.
*
* @since NEXT
*/
public static final String EARLY_DATA = "Early-Data";
/** The HTTP {@code Expect} header field name. */
public static final String EXPECT = "Expect";
/** The HTTP {@code From} header field name. */
Expand Down

0 comments on commit e074cf1

Please sign in to comment.