Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Get response headers from request #259
Conversation
@eddieharrison Any plans to move this forward? I'd also need this feature to retrieve rate limit headers. |
eddieharrison commentedDec 19, 2017
I wanted to be able to get the response headers from a request to handle the x-rate-limit-remaining in our app.
I've made it an optional setting before the request and added the ability to retrieve them after the request via a private property.
Added a phpunit test for this going forwards too.