|
@@ -335,7 +335,7 @@ void HttpRequestTest::testCreateRequest_with_cookie()
|
|
string expectedText = "GET /archives/aria2-1.0.0.tar.bz2 HTTP/1.1\r\n"
|
|
string expectedText = "GET /archives/aria2-1.0.0.tar.bz2 HTTP/1.1\r\n"
|
|
"User-Agent: aria2\r\n"
|
|
"User-Agent: aria2\r\n"
|
|
"Accept: */*\r\n"
|
|
"Accept: */*\r\n"
|
|
- "Host: localhost:80\r\n"
|
|
|
|
|
|
+ "Host: localhost\r\n"
|
|
"Pragma: no-cache\r\n"
|
|
"Pragma: no-cache\r\n"
|
|
"Cache-Control: no-cache\r\n"
|
|
"Cache-Control: no-cache\r\n"
|
|
"Cookie: name1=value1;\r\n"
|
|
"Cookie: name1=value1;\r\n"
|
|
@@ -348,7 +348,7 @@ void HttpRequestTest::testCreateRequest_with_cookie()
|
|
expectedText = "GET /archives/download/aria2-1.0.0.tar.bz2 HTTP/1.1\r\n"
|
|
expectedText = "GET /archives/download/aria2-1.0.0.tar.bz2 HTTP/1.1\r\n"
|
|
"User-Agent: aria2\r\n"
|
|
"User-Agent: aria2\r\n"
|
|
"Accept: */*\r\n"
|
|
"Accept: */*\r\n"
|
|
- "Host: localhost:80\r\n"
|
|
|
|
|
|
+ "Host: localhost\r\n"
|
|
"Pragma: no-cache\r\n"
|
|
"Pragma: no-cache\r\n"
|
|
"Cache-Control: no-cache\r\n"
|
|
"Cache-Control: no-cache\r\n"
|
|
"Cookie: name1=value1;name2=value2;\r\n"
|
|
"Cookie: name1=value1;name2=value2;\r\n"
|
|
@@ -361,7 +361,7 @@ void HttpRequestTest::testCreateRequest_with_cookie()
|
|
expectedText = "GET /archives/download/aria2-1.0.0.tar.bz2 HTTP/1.1\r\n"
|
|
expectedText = "GET /archives/download/aria2-1.0.0.tar.bz2 HTTP/1.1\r\n"
|
|
"User-Agent: aria2\r\n"
|
|
"User-Agent: aria2\r\n"
|
|
"Accept: */*\r\n"
|
|
"Accept: */*\r\n"
|
|
- "Host: tt.localhost:80\r\n"
|
|
|
|
|
|
+ "Host: tt.localhost\r\n"
|
|
"Pragma: no-cache\r\n"
|
|
"Pragma: no-cache\r\n"
|
|
"Cache-Control: no-cache\r\n"
|
|
"Cache-Control: no-cache\r\n"
|
|
"Cookie: name1=value1;name2=value2;name3=value3;\r\n"
|
|
"Cookie: name1=value1;name2=value2;name3=value3;\r\n"
|
|
@@ -374,7 +374,7 @@ void HttpRequestTest::testCreateRequest_with_cookie()
|
|
expectedText = "GET /archives/download/aria2-1.0.0.tar.bz2 HTTP/1.1\r\n"
|
|
expectedText = "GET /archives/download/aria2-1.0.0.tar.bz2 HTTP/1.1\r\n"
|
|
"User-Agent: aria2\r\n"
|
|
"User-Agent: aria2\r\n"
|
|
"Accept: */*\r\n"
|
|
"Accept: */*\r\n"
|
|
- "Host: tt.localhost:443\r\n"
|
|
|
|
|
|
+ "Host: tt.localhost\r\n"
|
|
"Pragma: no-cache\r\n"
|
|
"Pragma: no-cache\r\n"
|
|
"Cache-Control: no-cache\r\n"
|
|
"Cache-Control: no-cache\r\n"
|
|
"Cookie: name1=value1;name2=value2;name3=value3;name4=value4;\r\n"
|
|
"Cookie: name1=value1;name2=value2;name3=value3;name4=value4;\r\n"
|