php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #59074 OAUTH_HTTP_METHOD_DELETE
Submitted: 2010-02-10 22:33 UTC Modified: 2010-05-12 09:42 UTC
From: kiall at managedit dot ie Assigned: jawed (profile)
Status: Closed Package: oauth (PECL)
PHP Version: 5.2.10 OS: Linux
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:
17 + 19 = ?
Subscribe to this entry?

 
 [2010-02-10 22:33 UTC] kiall at managedit dot ie
Description:
------------
I'm wondering why there is no OAUTH_HTTP_METHOD_DELETE constant, considering simply passing the string "DELETE" achieves the desired goal.

It would be nice to have this officially supported so I (and others I'm sure!) can be confident our code won't break with oauth extension upgrade.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-02-11 00:13 UTC] jawed@php.net
Thanks for the feedback and bug report.

I plan to address this in the next release (1.0).
 [2010-05-03 09:53 UTC] datibbaw@php.net
Actually passing a string as method won't break BC in any foreseeable future ;-)

Nonetheless, since DELETE is one of the more often used verbs we could add a constant for it.
 [2010-05-12 09:42 UTC] datibbaw@php.net
This bug has been fixed in SVN.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pecl.php.net.

In case this was a pecl.php.net website problem, the change will show
up on the website in short time.
 
Thank you for the report, and for helping us make PECL better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 06:01:35 2024 UTC