mirror of
https://github.com/aria2/aria2.git
synced 2025-04-05 13:37:40 +03:00
2007-10-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Do not send referer when redirected. * src/Request.cc (redirectUrl) * test/RequestTest.cc * test/HttpRequestTest.cc
This commit is contained in:
parent
048a2cf597
commit
1d5834a6ca
4 changed files with 14 additions and 8 deletions
|
@ -171,7 +171,6 @@ void HttpRequestTest::testCreateRequest()
|
|||
"Cache-Control: no-cache\r\n"
|
||||
"Connection: close\r\n"
|
||||
"Range: bytes=1048576-\r\n"
|
||||
"Referer: http://localhost:8080/archives/aria2-1.0.0.tar.bz2\r\n"
|
||||
"\r\n";
|
||||
|
||||
CPPUNIT_ASSERT_EQUAL(expectedText, httpRequest.createRequest());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue