From 415e2251a1539d027b66c74258aaef09cb23a421 Mon Sep 17 00:00:00 2001 From: Andrew Clayton Date: Thu, 3 Apr 2025 17:48:15 +0100 Subject: 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 --- src/nxt_http.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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, -- cgit