summaryrefslogtreecommitdiff
path: root/Year_3
diff options
context:
space:
mode:
Diffstat (limited to 'Year_3')
-rw-r--r--Year_3/TSDWL/webserver/server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Year_3/TSDWL/webserver/server.c b/Year_3/TSDWL/webserver/server.c
index 000c66f..823fea3 100644
--- a/Year_3/TSDWL/webserver/server.c
+++ b/Year_3/TSDWL/webserver/server.c
@@ -265,7 +265,7 @@ read_file(char* root, request_t* request, int client)
sprintf(buffer, "Date: %s", ctime(&now));
write(client, buffer, strlen(buffer));
- sprintf(buffer, "Content-Type: text/txt; charset=UTF-8\n");
+ sprintf(buffer, "Content-Type: text/html; charset=UTF-8\n");
write(client, buffer, strlen(buffer));
sprintf(buffer, "Content-Length: %ld\n", sb.st_size);