Skip to content

Commit

Permalink
Adding [Server-Timing] HTTP header.
Browse files Browse the repository at this point in the history
https://www.w3.org/TR/server-timing/

RELNOTES=Defining "Server-Timing" HTTP header according to https://www.w3.org/TR/server-timing/

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=177129769
  • Loading branch information
mihr authored and cpovirk committed Nov 28, 2017
1 parent 1e4d01f commit f089e55
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 @@ -254,6 +254,13 @@ private ReferrerPolicyValues() {}
public static final String RETRY_AFTER = "Retry-After";
/** The HTTP {@code Server} header field name. */
public static final String SERVER = "Server";
/**
* The HTTP <a href="https://www.w3.org/TR/server-timing/">
* {@code Server-Timing}</a> header field name.
*
* @since NEXT
*/
public static final String SERVER_TIMING = "Server-Timing";
/**
* The HTTP <a href="https://www.w3.org/TR/service-workers/#update-algorithm">
* {@code Service-Worker-Allowed}</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 @@ -254,6 +254,13 @@ private ReferrerPolicyValues() {}
public static final String RETRY_AFTER = "Retry-After";
/** The HTTP {@code Server} header field name. */
public static final String SERVER = "Server";
/**
* The HTTP <a href="https://www.w3.org/TR/server-timing/">
* {@code Server-Timing}</a> header field name.
*
* @since NEXT
*/
public static final String SERVER_TIMING = "Server-Timing";
/**
* The HTTP <a href="https://www.w3.org/TR/service-workers/#update-algorithm">
* {@code Service-Worker-Allowed}</a> header field name.
Expand Down

0 comments on commit f089e55

Please sign in to comment.