Merge pull request #974 from bmac/patch-1

Fix formatting of the `headers` option
This commit is contained in:
Jarrett Cruger 2016-03-08 17:26:38 -08:00
commit 018352955e

View File

@ -337,7 +337,7 @@ proxyServer.listen(8015);
* **hostRewrite**: rewrites the location hostname on (301/302/307/308) redirects. * **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. * **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. * **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. * **headers**: object with extra headers to be added to target requests.
**NOTE:** **NOTE:**
`options.ws` and `options.ssl` are optional. `options.ws` and `options.ssl` are optional.