diff --git a/Main.c b/Main.c index 0e2fe2ff80507c0d71eb277c96b37f89c1f42ec4..d55a3922ab972c97c62ba097f660b35db273fcb6 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);