diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-07-11 15:01:04 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-07-11 15:01:04 +0000 |
commit | dd87b2ce75c07f6724bce0801483e7ed69b7417f (patch) | |
tree | d9f7ad809bd64a1a1540c9232470034f9143aaca | |
parent | f5da4b395438cf5e461455e63323a83dc0d82db0 (diff) |
Add content-type
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4339 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | src/modules/m_httpd_stats.cpp | 2 |
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(); |