1
0
mirror of https://github.com/anope/anope.git synced 2026-07-04 21:13:12 +02:00

Fix HTTP headers to be case insensitive as required by the spec.

This commit is contained in:
Sadie Powell
2025-05-04 14:39:51 +01:00
parent 72f5e3580f
commit bb9074cbd5
+4 -4
View File
@@ -83,10 +83,10 @@ struct HTTPReply final
/* A message from someone */
struct HTTPMessage final
{
std::map<Anope::string, Anope::string> headers;
std::map<Anope::string, Anope::string> cookies;
std::map<Anope::string, Anope::string> get_data;
std::map<Anope::string, Anope::string> post_data;
std::map<Anope::string, Anope::string, ci::less> headers;
std::map<Anope::string, Anope::string, ci::less> cookies;
std::map<Anope::string, Anope::string, ci::less> get_data;
std::map<Anope::string, Anope::string, ci::less> post_data;
Anope::string content;
};