mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-10-22 13:11:40 +00:00
fetch with HTTP/1.1
This commit is contained in:
1 parent
1e87aedbb8
commit
42075e74ad
3 files changed
+13
-13
No files matched your search
+1
-1
@@ -349,7 +349,7 @@ namespace client
|
||||
if (leaseSet)
|
||||
{
|
||||
std::stringstream request, response;
|
||||
request << "GET " << u.path_ << " HTTP/1.0\r\nHost: " << u.host_
|
||||
request << "GET " << u.path_ << " HTTP/1.1\r\nHost: " << u.host_
|
||||
<< "\r\nAccept: */*\r\n" << "User-Agent: Wget/1.11.4\r\n" << "Connection: close\r\n\r\n";
|
||||
|
||||
auto stream = i2p::client::context.GetSharedLocalDestination ()->CreateStream (*leaseSet, u.port_);
|
||||
|
||||
Reference in new issue
Block a user