diff options
Diffstat (limited to 'http_get.c')
-rw-r--r-- | http_get.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -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" |