mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
extract https content
This commit is contained in:
parent
71dae29077
commit
0d468a8f48
4 changed files with 54 additions and 41 deletions
1
util.h
1
util.h
|
@ -47,6 +47,7 @@ namespace util
|
|||
const char TRANSFER_ENCODING[] = "Transfer-Encoding";
|
||||
|
||||
std::string httpRequest(const std::string& address);
|
||||
std::string GetHttpContent (std::istream& response);
|
||||
void MergeChunkedResponse (std::istream& response, std::ostream& merged);
|
||||
int httpRequestViaI2pProxy(const std::string& address, std::string &content); // return http code
|
||||
std::string urlDecode(const std::string& data);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue