diff options
| author | JimmyZ <jimmy.z.z@gmail.com> | 2016-12-28 00:44:46 +0800 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2016-12-31 14:11:12 +0900 |
| commit | da730478af0cdae2936053d6f9789cee12c95b7d (patch) | |
| tree | 8c5d9621ec62c5dc49413d899b8a4001abb69706 /src/OptionHandlerFactory.cc | |
| parent | f542f84b836b1fd89d89537155ea7e25e07f49be (diff) | |
new option content-disposition-default-utf8
Diffstat (limited to 'src/OptionHandlerFactory.cc')
| -rw-r--r-- | src/OptionHandlerFactory.cc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/OptionHandlerFactory.cc b/src/OptionHandlerFactory.cc index fd963613..b8f07770 100644 --- a/src/OptionHandlerFactory.cc +++ b/src/OptionHandlerFactory.cc @@ -1055,6 +1055,18 @@ std::vector<OptionHandler*> OptionHandlerFactory::createOptionHandlers() handlers.push_back(op); } { + OptionHandler* op( + new BooleanOptionHandler(PREF_CONTENT_DISPOSITION_DEFAULT_UTF8, + TEXT_CONTENT_DISPOSITION_DEFAULT_UTF8, + A2_V_FALSE, OptionHandler::OPT_ARG)); + op->addTag(TAG_ADVANCED); + op->addTag(TAG_HTTP); + op->setInitialOption(true); + op->setChangeGlobalOption(true); + op->setChangeOptionForReserved(true); + handlers.push_back(op); + } + { OptionHandler* op(new BooleanOptionHandler( PREF_ENABLE_HTTP_KEEP_ALIVE, TEXT_ENABLE_HTTP_KEEP_ALIVE, A2_V_TRUE, OptionHandler::OPT_ARG)); |
