2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-05 16:42:32 +03:00

Adding documentation for response.request

This commit is contained in:
Rubén Norte
2017-04-08 12:57:48 +02:00
parent 84d9a41850
commit 88cc84c91e
+6 -1
View File
@@ -354,7 +354,12 @@ The response for a request contains the following information.
headers: {},
// `config` is the config that was provided to `axios` for the request
config: {}
config: {},
// `request` is the request that generated this response
// It is the last ClientRequest instance in node.js (in redirects)
// and an XMLHttpRequest instance the browser
request: {}
}
```