Skip to content
Snippets Groups Projects
Commit 9a7dfc11 authored by Brandon Rodriguez's avatar Brandon Rodriguez
Browse files

Remove a line

parent 780a7d62
Branches
No related merge requests found
......@@ -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);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment