Merge pull request #806 from chimurai/master

Fixed missing documentation: #options.headers
This commit is contained in:
Jarrett Cruger 2016-02-16 18:05:28 -05:00
commit 820f198729

View File

@ -337,6 +337,7 @@ proxyServer.listen(8015);
* **hostRewrite**: rewrites the location hostname on (301/302/307/308) redirects.
* **autoRewrite**: rewrites the location host/port on (301/302/307/308) redirects based on requested host/port. Default: false.
* **protocolRewrite**: rewrites the location protocol on (301/302/307/308) redirects to 'http' or 'https'. Default: null.
* **headers**: object with extra headers to be added to target requests.
**NOTE:**
`options.ws` and `options.ssl` are optional.