From 9a7dfc1111efbcb22362a593f1864c0c9c2f57aa Mon Sep 17 00:00:00 2001 From: Brandon Rodriguez <brodriguez8774@gmail.com> Date: Mon, 11 Dec 2017 12:24:07 -0500 Subject: [PATCH] Remove a line --- Main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Main.c b/Main.c index 0e2fe2f..d55a392 100644 --- a/Main.c +++ b/Main.c @@ -381,13 +381,12 @@ void send_response(struct conn_obj* connection) { strcat(response_buffer_head, "text/html"); } strcat(response_buffer_head, "\r\n"); - // strcat(response_buffer_head, "Content-Transer-Encoding: binary\r\n"); + // strcat(response_buffer_head, "Content-Transfer-Encoding: binary\r\n"); strcat(response_buffer_head, "Content-Length: "); temp_string = calloc(BUFFER_SIZE, sizeof(char)); sprintf(temp_string, "%ld", response_file_size); strcat(response_buffer_head, temp_string); strcat(response_buffer_head, "\r\n"); - strcat(response_buffer_head, "Accept: text/html,image/*,application/xhtml+xml,application/xml"); // strcat(response_buffer_head, "Connection: close\r\n"); strcat(response_buffer_head, "\r\n"); free(temp_string); -- GitLab