commit e815956b7b8e4889c8e290e3a1c3197c664d4bb7
parent 300f5594b1b101d59f8772bf81442b025a0a2cd7
Author: Christian Grothoff <christian@grothoff.org>
Date: Tue, 14 Aug 2012 17:16:38 +0000
specify content type
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/examples/largepost.c b/doc/examples/largepost.c
@@ -58,7 +58,7 @@ send_page (struct MHD_Connection *connection, const char *page,
MHD_RESPMEM_PERSISTENT);
if (!response)
return MHD_NO;
-
+ MHD_add_response_header (response, MHD_HTTP_HEADER_CONTENT_TYPE, "text/html");
ret = MHD_queue_response (connection, status_code, response);
MHD_destroy_response (response);