This commit is contained in:
Tatsuhiro Tsujikawa 2019-12-21 10:55:37 +09:00
parent e0d7f7de5e
commit 5e13274b7c
1 changed files with 1 additions and 1 deletions

View File

@ -2517,7 +2517,7 @@ int main(int argc, char **argv) {
shared_nva.emplace_back(":method", config.data_fd == -1 ? "GET" : "POST"); shared_nva.emplace_back(":method", config.data_fd == -1 ? "GET" : "POST");
shared_nva.emplace_back("user-agent", user_agent); shared_nva.emplace_back("user-agent", user_agent);
// list overridalbe headers // list header fields that can be overridden.
auto override_hdrs = make_array<std::string>(":authority", ":host", ":method", auto override_hdrs = make_array<std::string>(":authority", ":host", ":method",
":scheme", "user-agent"); ":scheme", "user-agent");