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:
Tatsuhiro Tsujikawa 2007-10-11 17:04:53 +00:00
parent 048a2cf597
commit 1d5834a6ca
4 changed files with 14 additions and 8 deletions

View file

@ -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());