2009-11-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>

Removed --http-auth-scheme option since it doesn't do nothing.
	* src/OptionHandlerFactory.cc
	* src/prefs.cc
	* src/prefs.h
	* src/usage_text.h
pull/1/head
Tatsuhiro Tsujikawa 2009-11-29 10:28:24 +00:00
parent 8f00669d7b
commit ddaad36680
5 changed files with 8 additions and 18 deletions

View File

@ -1,3 +1,11 @@
2009-11-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Removed --http-auth-scheme option since it doesn't do nothing.
* src/OptionHandlerFactory.cc
* src/prefs.cc
* src/prefs.h
* src/usage_text.h
2009-11-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net> 2009-11-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Adjusted the number of peer info which get_peers reply message can Adjusted the number of peer info which get_peers reply message can

View File

@ -688,15 +688,6 @@ OptionHandlers OptionHandlerFactory::createOptionHandlers()
op->addTag(TAG_HTTP); op->addTag(TAG_HTTP);
handlers.push_back(op); handlers.push_back(op);
} }
{
SharedHandle<OptionHandler> op(new ParameterOptionHandler
(PREF_HTTP_AUTH_SCHEME,
TEXT_HTTP_AUTH_SCHEME,
V_BASIC,
V_BASIC));
op->addTag(TAG_HTTP);
handlers.push_back(op);
}
{ {
SharedHandle<OptionHandler> op(new DefaultOptionHandler SharedHandle<OptionHandler> op(new DefaultOptionHandler
(PREF_HTTP_PASSWD, (PREF_HTTP_PASSWD,

View File

@ -192,9 +192,6 @@ const std::string PREF_FTP_REUSE_CONNECTION("ftp-reuse-connection");
*/ */
const std::string PREF_HTTP_USER("http-user"); const std::string PREF_HTTP_USER("http-user");
const std::string PREF_HTTP_PASSWD("http-passwd"); const std::string PREF_HTTP_PASSWD("http-passwd");
// values: basic
const std::string PREF_HTTP_AUTH_SCHEME("http-auth-scheme");
const std::string V_BASIC("basic");
// values: string // values: string
const std::string PREF_USER_AGENT("user-agent"); const std::string PREF_USER_AGENT("user-agent");
// value: string that your file system recognizes as a file name. // value: string that your file system recognizes as a file name.

View File

@ -196,9 +196,6 @@ extern const std::string PREF_FTP_REUSE_CONNECTION;
*/ */
extern const std::string PREF_HTTP_USER; extern const std::string PREF_HTTP_USER;
extern const std::string PREF_HTTP_PASSWD; extern const std::string PREF_HTTP_PASSWD;
// values: basic
extern const std::string PREF_HTTP_AUTH_SCHEME;
extern const std::string V_BASIC;
// values: string // values: string
extern const std::string PREF_USER_AGENT; extern const std::string PREF_USER_AGENT;
// value: string that your file system recognizes as a file name. // value: string that your file system recognizes as a file name.

View File

@ -86,9 +86,6 @@ _(" --http-user=USER Set HTTP user. This affects all URLs.")
_(" --http-passwd=PASSWD Set HTTP password. This affects all URLs.") _(" --http-passwd=PASSWD Set HTTP password. This affects all URLs.")
#define TEXT_PROXY_METHOD \ #define TEXT_PROXY_METHOD \
_(" --proxy-method=METHOD Set the method to use in proxy request.") _(" --proxy-method=METHOD Set the method to use in proxy request.")
#define TEXT_HTTP_AUTH_SCHEME \
_(" --http-auth-scheme=SCHEME Set HTTP authentication scheme. Currently, basic\n"\
" is the only supported scheme.")
#define TEXT_REFERER \ #define TEXT_REFERER \
_(" --referer=REFERER Set Referer. This affects all URLs.") _(" --referer=REFERER Set Referer. This affects all URLs.")
#define TEXT_FTP_USER \ #define TEXT_FTP_USER \