Constructor
# new Headers(xhr)
Parameters:
Name | Type | Description |
---|---|---|
xhr |
XMLHttpRequest
|
The request to be wrapped. |
Methods
# getResponseHeader(name) → {string}
Returns the response header with the given name.
Parameters:
Name | Type | Description |
---|---|---|
name |
string
|
string