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
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
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-2021 The PHP Group
All rights reserved.
Last updated: Fri Sep 24 01:03:38 2021 UTC