Provide access to response headers
See original GitHub issueHi, thanks for this library 😃
Is your feature request related to a problem? Please describe.
I need access the X-Total-Count
header for pagination, but no means seems to be provided.
Describe the solution you’d like
I want to access response headers. I think processResponse should return headers
too.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:7 (5 by maintainers)
Top Results From Across the Web
Access-Control-Allow-Headers - HTTP - MDN Web Docs
The Access-Control-Allow-Headers response header is used in response to a preflight request which includes the ...
Read more >Reading response headers with Fetch API - Stack Overflow
In response to a cross-origin request, add 'Access-Control-Expose-Headers': '*' ...
Read more >CORS and the Access-Control-Allow-Origin response header
The Access-Control-Allow-Origin header is included in the response from one website to a request originating from another website, and identifies the permitted ...
Read more >Provide access to response headers in earlier link middleware
I was wondering if a solution might be to call observer.next({data}) with both headers and data instead: observer.next({data, headers}) . This ...
Read more >Understanding response headers policies - Amazon CloudFront
When this setting is set to true , CloudFront adds the Access-Control-Allow-Credentials: true header in responses to CORS requests. Otherwise, CloudFront doesn' ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@fabien0102 Yes, I will make a PR.
Closed by #254
Please tell me if this resolution works for you, if not, let’s find a better API all together!