summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-11 15:01:04 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-11 15:01:04 +0000
commitdd87b2ce75c07f6724bce0801483e7ed69b7417f (patch)
treed9f7ad809bd64a1a1540c9232470034f9143aaca /src/modules
parentf5da4b395438cf5e461455e63323a83dc0d82db0 (diff)
Add content-type
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4339 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_httpd_stats.cpp2
1 files changed, 1 insertions, 1 deletions
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 << "</HTML>";
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();