summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_http.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2018-09-28 17:32:02 +0300
committerIgor Sysoev <igor@sysoev.ru>2018-09-28 17:32:02 +0300
commitb5d4fc939edca5ea5858b66d5fcf789b660df243 (patch)
tree407c4bc003e6b68f9a6c7856cfa2320d59e33438 /src/nxt_http.h
parent92da8dae1e4194698ace12e6a51df5d9431e00c4 (diff)
downloadunit-b5d4fc939edca5ea5858b66d5fcf789b660df243.tar.gz
unit-b5d4fc939edca5ea5858b66d5fcf789b660df243.tar.bz2
Disabled chunked transfer encoding for 204 responses.
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 1c7ed8bb..b2111f90 100644
--- a/src/nxt_http.h
+++ b/src/nxt_http.h
@@ -12,6 +12,7 @@ typedef enum {
NXT_HTTP_INVALID = 0,
NXT_HTTP_OK = 200,
+ NXT_HTTP_NO_CONTENT = 204,
NXT_HTTP_MULTIPLE_CHOICES = 300,
NXT_HTTP_MOVED_PERMANENTLY = 301,