diff options
author | Leah Neukirchen <leah@vuxu.org> | 2020-09-25 12:04:06 +0200 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2020-09-25 12:04:06 +0200 |
commit | 43680c08d56dea76ae33977c46c0ff6822b5b7a4 (patch) | |
tree | ceac419848965b39e5d7d6e5e6782a99a774ba8e | |
parent | f8ae67fd783a64391d22084aca97a34fecbf139a (diff) | |
download | hittpd-43680c08d56dea76ae33977c46c0ff6822b5b7a4.tar.gz hittpd-43680c08d56dea76ae33977c46c0ff6822b5b7a4.tar.xz hittpd-43680c08d56dea76ae33977c46c0ff6822b5b7a4.zip |
Partial Content is 206, duh
-rw-r--r-- | hittpd.c | 2 |
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); } } |