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:
parent
894c1bd02e
commit
5ec6066fdd
|
@ -291,7 +291,6 @@ std::pair<std::string, std::string> parse_header(const char *optarg) {
|
||||||
auto p = std::make_pair(std::string(optarg, colon),
|
auto p = std::make_pair(std::string(optarg, colon),
|
||||||
std::string(value, strlen(value)));
|
std::string(value, strlen(value)));
|
||||||
util::inp_strlower(p.first);
|
util::inp_strlower(p.first);
|
||||||
util::inp_strlower(p.second);
|
|
||||||
|
|
||||||
return p;
|
return p;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue