summary refs log tree commit diff
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2020-09-25 12:04:06 +0200
committerLeah Neukirchen <leah@vuxu.org>2020-09-25 12:04:06 +0200
commit43680c08d56dea76ae33977c46c0ff6822b5b7a4 (patch)
treeceac419848965b39e5d7d6e5e6782a99a774ba8e
parentf8ae67fd783a64391d22084aca97a34fecbf139a (diff)
downloadhittpd-43680c08d56dea76ae33977c46c0ff6822b5b7a4.tar.gz
hittpd-43680c08d56dea76ae33977c46c0ff6822b5b7a4.tar.xz
hittpd-43680c08d56dea76ae33977c46c0ff6822b5b7a4.zip
Partial Content is 206, duh
-rw-r--r--hittpd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hittpd.c b/hittpd.c
index 0ff16ab..2ce162e 100644
--- a/hittpd.c
+++ b/hittpd.c
@@ -448,7 +448,7 @@ send_ok(http_parser *p, time_t modified, const char *mimetype, off_t filesize)
 		    (intmax_t)data->last - 1,
 		    (intmax_t)filesize,
 		    lastmod);
-		send_response(p, 216, "Partial Content", headers, 0);
+		send_response(p, 206, "Partial Content", headers, 0);
 	}
 }