gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r25168 - gnunet/src/transport


From: gnunet
Subject: [GNUnet-SVN] r25168 - gnunet/src/transport
Date: Thu, 29 Nov 2012 19:54:27 +0100

Author: grothoff
Date: 2012-11-29 19:54:27 +0100 (Thu, 29 Nov 2012)
New Revision: 25168

Modified:
   gnunet/src/transport/plugin_transport_http_server.c
Log:
-send content type

Modified: gnunet/src/transport/plugin_transport_http_server.c
===================================================================
--- gnunet/src/transport/plugin_transport_http_server.c 2012-11-29 18:01:17 UTC 
(rev 25167)
+++ gnunet/src/transport/plugin_transport_http_server.c 2012-11-29 18:54:27 UTC 
(rev 25168)
@@ -1353,6 +1353,9 @@
     else
     {
       response = MHD_create_response_from_data (strlen (HTTP_ERROR_RESPONSE), 
HTTP_ERROR_RESPONSE, MHD_NO, MHD_NO);
+      MHD_add_response_header (response,
+                              MHD_HTTP_HEADER_CONTENT_TYPE,
+                              "text/html");
       res = MHD_queue_response (mhd_connection, MHD_HTTP_NOT_FOUND, response);
       MHD_destroy_response (response);
       return res;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]