2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-20 20:00:40 +03:00

Adding statusText to response

closes #46
This commit is contained in:
mzabriskie
2015-03-13 17:07:52 -06:00
parent f002d5abd5
commit 69af75623c
3 changed files with 34 additions and 0 deletions
+1
View File
@@ -65,6 +65,7 @@ module.exports = function httpAdapter(resolve, reject, config) {
config.transformResponse
),
status: res.statusCode,
statusText: res.statusMessage,
headers: res.headers,
config: config
};