header value should not be inp_strlower

http header keys are case-insensitive, but header values are case-sensitive, so it should not be changed.
This commit is contained in:
ayanamist 2015-12-25 11:03:55 +08:00
parent 894c1bd02e
commit 5ec6066fdd
1 changed files with 0 additions and 1 deletions

View File

@ -291,7 +291,6 @@ std::pair<std::string, std::string> parse_header(const char *optarg) {
auto p = std::make_pair(std::string(optarg, colon),
std::string(value, strlen(value)));
util::inp_strlower(p.first);
util::inp_strlower(p.second);
return p;
}