Checking for major HTTP version.

This commit is contained in:
Valentin Bartenev
2018-01-15 20:50:20 +03:00
parent a073616fc3
commit 0c38ff0e66
5 changed files with 35 additions and 13 deletions

View File

@@ -30,6 +30,7 @@ typedef enum {
NXT_HTTP_BAD_GATEWAY = 502,
NXT_HTTP_SERVICE_UNAVAILABLE = 503,
NXT_HTTP_GATEWAY_TIMEOUT = 504,
NXT_HTTP_VERSION_NOT_SUPPORTED = 505,
} nxt_http_status_t;