[wp-hackers] WP 2.7 : why using POST when GET is enough ?

Otto otto at ottodestruct.com
Sat Dec 27 01:00:25 GMT 2008


I can see no sane reason to use POST there instead of GET. Especially
since there's 5 working GET transports, and only 3 working POST
transports.

Does it work when you switch it to GET? If so, file the bug in trac
and get it changed.


On Fri, Dec 26, 2008 at 6:27 AM, Patrick Proniewski <patpro at patpro.net> wrote:
> Hi
>
> On 24 déc. 2008, at 22:46, Jacob Santos wrote:
>
>> Go to trac.wordpress.org and create a ticket. If you can, checkout
>> WordPress repository trunk directory. Make the change and submit the patch
>> to the same ticket.
>
> I don't really see the point in opening a ticket without knowing before if
> this is a bug or a design feature. May be the choice of POST instead of GET
> is made in an attempt to make WordPress more "RESTFul".
>
> But well, if nobody here knows about that, I figure I'll have to fill a bug
> report.
>
>> Patrick Proniewski wrote:
>>>
>>> Since version 2.7, WP uses POST method to request
>>> "wp-cron.php?check=...". What is the point ?
>>> My antispam filter works by denying POST method to people who fail to
>>> provide proper credentials. It's implemented on the server side (in
>>> httpd.conf). Then, the POST method is denied for wordpress or whatever
>>> process on the server.
>>> I had to edit wp-includes/cron.php to replace wp_remote_post with
>>> wp_remote_get.
>>> I need to get rid of every POST requests made locally, and replace them
>>> with GET requests.
>
>
>
> regards,
>
> patpro
>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list