s/Accept-Feature/Accept-Features/

pull/1/head
Tatsuhiro Tsujikawa 2008-04-25 17:47:12 +00:00
parent 2a81fd466d
commit cbc34b4e3a
1 changed files with 5 additions and 4 deletions

View File

@ -1,18 +1,19 @@
2008-04-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2008-04-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Added build-in "Accept-Feature" support. For now only "metalink" is Added build-in "Accept-Features" support. For now only "metalink" is
used in this header field. used in this header field.
This "metalink" value is removed from the list when connecting URLs This "metalink" value is removed from the list when connecting URLs
fed by metalink file to avoid loop in "transparent" metlaink. fed by metalink file to avoid loop in "transparent" metlaink.
* src/HttpRequest.cc * src/HttpRequest.cc
* src/HttpRequest.h: Renamed _userHeaders as _headers. Accept-Feature * src/HttpRequest.h: Renamed _userHeaders as _headers. Accept-Features
header is also held in this variable. Also renamed setUserHeaders as header is also held in this variable. Also renamed setUserHeaders as
addHeader and it was rewritten to add header not just to clear the old addHeader and it was rewritten to add header not just to clear the old
value. value.
* src/HttpRequestCommand.cc * src/HttpRequestCommand.cc
* src/Metalink2RequestGroup.cc: Added the code to remove "metalink" * src/Metalink2RequestGroup.cc: Added the code to remove "metalink"
from "Accept-Feature" list. from "Accept-Features" list.
* src/RequestGroup.cc: Added "metalink" to "Accept-Feature" by default. * src/RequestGroup.cc: Added "metalink" to "Accept-Features" by
default.
* src/RequestGroup.h * src/RequestGroup.h
* src/TaggedItem.cc: Moved Concat class to a2functional.h. * src/TaggedItem.cc: Moved Concat class to a2functional.h.
* src/a2functional.h: Included <string> because Concat class depends on * src/a2functional.h: Included <string> because Concat class depends on