summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2018-03-26 20:21:06 -0400
committerAdam <Adam@anope.org>2018-03-26 20:21:06 -0400
commitd25722ddd0766cba2c33614e326d241d3f1f7eeb (patch)
treeefef2d4cc3826fb4c5a9bdaeb4ac785e1b3544fd /include
parent1baf774647f138a080b38aab6beeb8626f32abed (diff)
m_httpd: make http headers case insensitive
Diffstat (limited to 'include')
-rw-r--r--include/modules/httpd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/modules/httpd.h b/include/modules/httpd.h
index 861702cec..6f71014ae 100644
--- a/include/modules/httpd.h
+++ b/include/modules/httpd.h
@@ -23,7 +23,7 @@ struct HTTPReply
{
HTTPError error;
Anope::string content_type;
- std::map<Anope::string, Anope::string> headers;
+ std::map<Anope::string, Anope::string, ci::less> headers;
typedef std::list<std::pair<Anope::string, Anope::string> > cookie;
std::vector<cookie> cookies;