You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2020/06/09 20:06:20 UTC

[trafficserver] branch master updated: Adding HTTP status 451 in apidefs as well (See PR#6789) (#6797)

This is an automated email from the ASF dual-hosted git repository.

zwoop pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new e9da3e0  Adding HTTP status 451 in apidefs as well (See PR#6789) (#6797)
e9da3e0 is described below

commit e9da3e032561ca085024c1be09b8897c6dd4293f
Author: Saurav Kumar <20...@gmail.com>
AuthorDate: Tue Jun 9 13:06:10 2020 -0700

    Adding HTTP status 451 in apidefs as well (See PR#6789) (#6797)
---
 include/ts/apidefs.h.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/ts/apidefs.h.in b/include/ts/apidefs.h.in
index fe5f101..b2bf281 100644
--- a/include/ts/apidefs.h.in
+++ b/include/ts/apidefs.h.in
@@ -196,6 +196,7 @@ typedef enum {
   TS_HTTP_STATUS_PRECONDITION_REQUIRED           = 428,
   TS_HTTP_STATUS_TOO_MANY_REQUESTS               = 429,
   TS_HTTP_STATUS_REQUEST_HEADER_FIELDS_TOO_LARGE = 431,
+  TS_HTTP_STATUS_UNAVAILABLE_FOR_LEGAL_REASONS   = 451,
   TS_HTTP_STATUS_INTERNAL_SERVER_ERROR           = 500,
   TS_HTTP_STATUS_NOT_IMPLEMENTED                 = 501,
   TS_HTTP_STATUS_BAD_GATEWAY                     = 502,