From dd87b2ce75c07f6724bce0801483e7ed69b7417f Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 11 Jul 2006 15:01:04 +0000 Subject: Add content-type git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4339 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_httpd_stats.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules') diff --git a/src/modules/m_httpd_stats.cpp b/src/modules/m_httpd_stats.cpp index dc93a9dd4..526f9fda2 100644 --- a/src/modules/m_httpd_stats.cpp +++ b/src/modules/m_httpd_stats.cpp @@ -62,7 +62,7 @@ class ModuleHttpStats : public Module data << ""; HTTPRequest* http = (HTTPRequest*)event->GetData(); - HTTPDocument response(http->sock, &data, 200, "X-Powered-By: m_http_stats.so\r\n"); + HTTPDocument response(http->sock, &data, 200, "X-Powered-By: m_http_stats.so\r\nContent-Type: text/html\r\n"); Request req((char*)&response, (Module*)this, event->GetSource()); req.Send(); -- cgit v1.2.3