Commit d63bd1b3 authored by antoor's avatar antoor

Add the HTTP request configuration

增加HTTP请求数据
parent caee03a6
...@@ -239,7 +239,9 @@ class Base { ...@@ -239,7 +239,9 @@ class Base {
tag_s: opt['tag_s'], tag_s: opt['tag_s'],
tag_e: opt['tag_e'], tag_e: opt['tag_e'],
encode: this.__opts__['encode'], encode: this.__opts__['encode'],
ignoreHTTPS: (this.__opts__['otherConf'] || {})['ignore-https'] === 1 ignoreHTTPS: (this.__opts__['otherConf'] || {})['ignore-https'] === 1,
headers: (this.__opts__['httpConf'] || {})['headers'] || {},
body: (this.__opts__['httpConf'] || {})['body'] || {}
}); });
}) })
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment