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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: jrossiter at dlvr dot it
New email:
PHP Version: OS:

 

 [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: Fri Apr 26 05:01:30 2024 UTC