add description for header option

master
MaysWind 2018-10-06 22:34:00 +08:00
parent 2841e7d020
commit 789daa16b8
4 changed files with 6 additions and 4 deletions

View File

@ -397,7 +397,7 @@ enable-http-keep-alive.description=启用 HTTP/1.1 持久连接.
enable-http-pipelining.name=启用 HTTP 管线化
enable-http-pipelining.description=启用 HTTP/1.1 管线化.
header.name=自定义请求头
header.description=增加 HTTP 请求头内容.
header.description=增加 HTTP 请求头内容. 每行放置一项, 每项包含 "请求头名: 请求头值".
save-cookies.name=Cookies 保存路径
save-cookies.description=以 Mozilla/Firefox(1.x/2.x)/Netscape 格式将 Cookies 保存到文件中. 如果文件已经存在, 将被覆盖. 会话过期的 Cookies 也将会保存, 其过期时间将会设置为 0.
use-head.name=启用 HEAD 方法

View File

@ -397,7 +397,7 @@ enable-http-keep-alive.description=啟用 HTTP/1.1 持久連線.
enable-http-pipelining.name=啟用 HTTP 管線化
enable-http-pipelining.description=啟用 HTTP/1.1 管線化.
header.name=自訂要求標頭
header.description=增加 HTTP 要求標頭內容.
header.description=增加 HTTP 要求標頭內容. 每行放置一項, 每項包含 "標頭名: 標頭值".
save-cookies.name=Cookies 儲存路徑
save-cookies.description=以 Mozilla/Firefox(1.x/2.x)/Netscape 格式將 Cookies 儲存到檔案中. 如果檔案已經存在, 將被覆蓋. 會話過期的 Cookies 也將會儲存, 其過期時間將會設定為 0.
use-head.name=啟用 HEAD 方法

View File

@ -228,7 +228,9 @@
required: true
},
'header': {
type: 'text'
type: 'text',
split: '\n',
showCount: true
},
'save-cookies': {
type: 'string'

View File

@ -417,7 +417,7 @@
'enable-http-pipelining.name': 'Enable HTTP Pipelining',
'enable-http-pipelining.description': 'Enable HTTP/1.1 pipelining.',
'header.name': 'Custom Header',
'header.description': 'Append HEADER to HTTP request header.',
'header.description': 'Append HEADER to HTTP request header. Put one item per line, each item containing "header name: header value".',
'save-cookies.name': 'Cookies Path',
'save-cookies.description': 'Save Cookies to FILE in Mozilla/Firefox(1.x/2.x)/ Netscape format. If FILE already exists, it is overwritten. Session Cookies are also saved and their expiry values are treated as 0.',
'use-head.name': 'Use HEAD Method',