about summary refs log tree commit homepage
path: root/http_get.c
diff options
context:
space:
mode:
Diffstat (limited to 'http_get.c')
-rw-r--r--http_get.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/http_get.c b/http_get.c
index 252ec5c..98735f0 100644
--- a/http_get.c
+++ b/http_get.c
@@ -112,7 +112,6 @@ static off_t http_get_resp_hdr(struct mog_fd *mfd, struct stat *sb)
 
                 rc = snprintf(buf, len,
                         "HTTP/1.1 206 Partial Content\r\n"
-                        "Status: 206 Partial Content\r\n"
                         "Date: %s\r\n"
                         "Last-Modified: %s\r\n"
                         "Content-Length: %lld\r\n"
@@ -131,7 +130,6 @@ resp_200:
                 count = (long long)sb->st_size;
                 rc = snprintf(buf, len,
                         "HTTP/1.1 200 OK\r\n"
-                        "Status: 200 OK\r\n"
                         "Date: %s\r\n"
                         "Last-Modified: %s\r\n"
                         "Content-Length: %lld\r\n"
@@ -158,7 +156,6 @@ bad_range:
                 }
                 rc = snprintf(buf, len,
                         "HTTP/1.1 " ERR416 "\r\n"
-                        "Status: " ERR416 "\r\n"
                         "Date: %s\r\n"
                         "Content-Length: 0\r\n"
                         "Content-Type: text/plain\r\n"