From 88cc84c91e614dfe15528c9fc4c71596a1710697 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rub=C3=A9n=20Norte?= Date: Sat, 8 Apr 2017 12:57:48 +0200 Subject: [PATCH] Adding documentation for response.request --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 38cbb22550..612e4a9449 100644 --- a/README.md +++ b/README.md @@ -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: {} } ```