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:
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user