question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Send informational headers on every response

See original GitHub issue

Would be nice to send the X-Rate-Limit-Limit, X-Rate-Limit-Remaining, X-Rate-Limit-Reset headers back on each response so users of the api can deal with it on their side before it becomes a problem. Like https://dev.twitter.com/rest/public/rate-limiting

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
stefanprodancommented, Oct 6, 2016

This has been implemented in the ASP.NET Core version.

0reactions
graham-saunderscommented, Feb 12, 2019

I added a custom solution under #126 for the non-core version of this

Read more comments on GitHub >

github_iconTop Results From Across the Web

Sending a HTTP request that tells server to return only ...
If the server supports it, there is the HEAD action (as opposed to GET or POST). That tells the server to only send...
Read more >
HTTP Response Headers
Server responses usually contain headers and body. The headers allow server to pass some additional information in the response. There are a lot ......
Read more >
HTTP headers - MDN Web Docs - Mozilla
Response headers hold additional information about the response, like its location or about the server providing it. Representation headers contain information ...
Read more >
Understanding response headers policies
You can use a response headers policy to specify the HTTP headers that Amazon CloudFront removes or adds in responses that it sends...
Read more >
How to modify Headers in HTTP(s) Requests & Responses ...
One powerful technique to achieve this is by modifying headers in HTTPS requests and responses. HTTP(s) Headers are key-value pairs that the client...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found