provide option to override status line
This commit is contained in:
parent
4fc35a4587
commit
3fb39ad3ef
3 changed files with 33 additions and 4 deletions
|
@ -446,6 +446,8 @@ The `callback` has to be called with an `response` object:
|
|||
* `cancel` Boolean
|
||||
* `responseHeaders` Object (optional) - When provided, the server is assumed
|
||||
to have responded with these headers.
|
||||
* `statusLine` String (optional) - Should be provided when overriding `responseHeaders`
|
||||
to change header status otherwise original response header's status will be used.
|
||||
|
||||
#### `ses.webRequest.onResponseStarted([filter, ]listener)`
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue