docs: http protocol handlers can access headers (#15431)

* test: check http protocol handlers can access headers

* docs: http protocol handlers can access headers
This commit is contained in:
David Sanders 2018-10-30 12:37:49 -06:00 committed by Shelley Vohr
parent 59ee2859a7
commit bae652f46d
2 changed files with 25 additions and 0 deletions

View file

@ -169,6 +169,7 @@ should be called with either a `String` or an object that has the `data`,
* `handler` Function
* `request` Object
* `url` String
* `headers` Object
* `referrer` String
* `method` String
* `uploadData` [UploadData[]](structures/upload-data.md)
@ -329,6 +330,7 @@ which sends a `Buffer` as a response.
* `handler` Function
* `request` Object
* `url` String
* `headers` Object
* `referrer` String
* `method` String
* `uploadData` [UploadData[]](structures/upload-data.md)