Skip to content

Commit 88cc84c

Browse files
committed
Adding documentation for response.request
1 parent 84d9a41 commit 88cc84c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,12 @@ The response for a request contains the following information.
354354
headers: {},
355355

356356
// `config` is the config that was provided to `axios` for the request
357-
config: {}
357+
config: {},
358+
359+
// `request` is the request that generated this response
360+
// It is the last ClientRequest instance in node.js (in redirects)
361+
// and an XMLHttpRequest instance the browser
362+
request: {}
358363
}
359364
```
360365

0 commit comments

Comments
 (0)