mirror of
https://github.com/moparisthebest/spdylay
synced 2024-11-16 06:25:04 -05:00
spdycat: Send "accept-encoding: gzip, deflate" header field
This commit is contained in:
parent
2e3cd7d04f
commit
d9611e65ac
@ -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
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user