summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_http.h
diff options
context:
space:
mode:
authorAndrew Clayton <a.clayton@nginx.com>2025-04-03 17:48:15 +0100
committerAndrew Clayton <a.clayton@nginx.com>2025-04-14 18:11:53 +0100
commit415e2251a1539d027b66c74258aaef09cb23a421 (patch)
tree2e3df54ea59fc46e7c469134f613d31146c5cdc2 /src/nxt_http.h
parent45e40a8c252bfc014937bef0853ffb665125166d (diff)
downloadunit-415e2251a1539d027b66c74258aaef09cb23a421.tar.gz
unit-415e2251a1539d027b66c74258aaef09cb23a421.tar.bz2
http: Add NXT_HTTP_NOT_ACCEPTABLE enum value
This will be used by the compression code to signal no requested compression method is available and the client said to not use identity. Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
Diffstat (limited to 'src/nxt_http.h')
-rw-r--r--src/nxt_http.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nxt_http.h b/src/nxt_http.h
index 92c2b327..79a0ad96 100644
--- a/src/nxt_http.h
+++ b/src/nxt_http.h
@@ -33,6 +33,7 @@ typedef enum {
NXT_HTTP_FORBIDDEN = 403,
NXT_HTTP_NOT_FOUND = 404,
NXT_HTTP_METHOD_NOT_ALLOWED = 405,
+ NXT_HTTP_NOT_ACCEPTABLE = 406,
NXT_HTTP_REQUEST_TIMEOUT = 408,
NXT_HTTP_LENGTH_REQUIRED = 411,
NXT_HTTP_PAYLOAD_TOO_LARGE = 413,