php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #59036 Add getLastResponseHeaders()
Submitted: 2010-01-19 16:16 UTC Modified: 2010-01-23 13:39 UTC
From: jrossiter at dlvr dot it Assigned: jawed (profile)
Status: Closed Package: oauth (PECL)
PHP Version: 5.2.11 OS: Ubuntu 9.11
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
15 + 18 = ?
Subscribe to this entry?

 
 [2010-01-19 16:16 UTC] jrossiter at dlvr dot it
Description:
------------
Some OAuth providers (i.e. Twitter) include information in the response headers such as rate limiting values.  Currently, this information is inaccessible because the headers are not stored or returned by the module.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-01-21 05:53 UTC] jawed@php.net
Thanks for the bug report. I agree that this will be a useful 
feature and it should be relatively simple to add in the next 
release.

I should have something you can tinker with in trunk/ by the 
25th for this.

- JJ
 [2010-01-23 13:39 UTC] jawed@php.net
I've added headers_recv (which was previously only available 
through enabling debug) as part of the getLastResponseInfo 
method.

This change is available in trunk/ and will most likely be 
part of the next release. Please re-open this bug if you 
encounter any issues or have further feedback.

- JJ
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 13:01:29 2024 UTC