diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2012-09-23 21:51:53 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2012-09-23 21:51:53 +0900 |
| commit | 8b0bdacace9c914818905c6a9a4d398fc11ffab6 (patch) | |
| tree | 36a8b4d642f13e34491f62a30c77799f44e39897 /test/HttpRequestTest.cc | |
| parent | 54665ff4093f4517104fe36c1b58f9a339710adf (diff) | |
Don't send Proxy-Connection header field
It was deprecated long ago.
Diffstat (limited to 'test/HttpRequestTest.cc')
| -rw-r--r-- | test/HttpRequestTest.cc | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/test/HttpRequestTest.cc b/test/HttpRequestTest.cc index d180a06e..7091fcf3 100644 --- a/test/HttpRequestTest.cc +++ b/test/HttpRequestTest.cc @@ -271,7 +271,6 @@ void HttpRequestTest::testCreateRequest() "Pragma: no-cache\r\n" "Cache-Control: no-cache\r\n" "Connection: close\r\n" - "Proxy-Connection: close\r\n" "Proxy-Authorization: Basic YXJpYTJwcm94eXVzZXI6YXJpYTJwcm94eXBhc3N3ZA==\r\n" "Authorization: Basic YXJpYTJ1c2VyOmFyaWEycGFzc3dk\r\n" "\r\n"; @@ -287,7 +286,7 @@ void HttpRequestTest::testCreateRequest() "Pragma: no-cache\r\n" "Cache-Control: no-cache\r\n" "Range: bytes=0-1048575\r\n" - "Proxy-Connection: Keep-Alive\r\n" + "Connection: Keep-Alive\r\n" "Proxy-Authorization: Basic YXJpYTJwcm94eXVzZXI6YXJpYTJwcm94eXBhc3N3ZA==\r\n" "Authorization: Basic YXJpYTJ1c2VyOmFyaWEycGFzc3dk\r\n" "\r\n"; @@ -306,7 +305,6 @@ void HttpRequestTest::testCreateRequest() "Pragma: no-cache\r\n" "Cache-Control: no-cache\r\n" "Connection: close\r\n" - "Proxy-Connection: close\r\n" "Authorization: Basic YXJpYTJ1c2VyOmFyaWEycGFzc3dk\r\n" "\r\n"; @@ -347,7 +345,6 @@ void HttpRequestTest::testCreateRequest_ftp() "Pragma: no-cache\r\n" "Cache-Control: no-cache\r\n" "Connection: close\r\n" - "Proxy-Connection: close\r\n" "Authorization: Basic YXJpYTJ1c2VyOmFyaWEycGFzc3dk\r\n" "\r\n"; @@ -366,7 +363,6 @@ void HttpRequestTest::testCreateRequest_ftp() "Pragma: no-cache\r\n" "Cache-Control: no-cache\r\n" "Connection: close\r\n" - "Proxy-Connection: close\r\n" "Proxy-Authorization: Basic YXJpYTJwcm94eXVzZXI6YXJpYTJwcm94eXBhc3N3ZA==\r\n" "Authorization: Basic YXJpYTJ1c2VyOmFyaWEycGFzc3dk\r\n" "\r\n"; |
