how to access to ALL respose headers?
kfreiman opened this issue · 1 comments
kfreiman commented
The response contains many headers, for example:
Content-Type:application/json; charset=UTF-8
Date:Mon, 17 Aug 2015 09:34:01 GMT
Server:nginx/1.6.2 (Ubuntu)
Transfer-Encoding:chunked
X-Pagination-Current-Page:1
...
But js-data-http show only content-type
:
adapter.defaults.deserialize = (resource, data) => {
console.log(data.headers) // Object {content-type: "application/json; charset=UTF-8"}
}
How can i access to all?
kfreiman commented
Solution here axios/axios#71