spdycat: Send "accept-encoding: gzip, deflate" header field

This commit is contained in:
Tatsuhiro Tsujikawa 2013-02-01 00:17:28 +09:00
parent 2e3cd7d04f
commit d9611e65ac
1 changed files with 1 additions and 0 deletions

View File

@ -166,6 +166,7 @@ int Spdylay::submit_request(const std::string& scheme,
":scheme", scheme.c_str(), ":scheme", scheme.c_str(),
":host", hostport.c_str(), ":host", hostport.c_str(),
"accept", "*/*", "accept", "*/*",
"accept-encoding", "gzip, deflate",
"user-agent", "spdylay/" SPDYLAY_VERSION "user-agent", "spdylay/" SPDYLAY_VERSION
}; };