[wp-trac] [WordPress Trac] #39043: HTTP API :: Its Not Possible To Send Data In Body For GET Requests

WordPress Trac noreply at wordpress.org
Sun Dec 4 23:51:10 UTC 2016


#39043: HTTP API :: Its Not Possible To Send Data In Body For GET Requests
-----------------------------------+-----------------------
 Reporter:  lots.0.logs            |       Owner:
     Type:  enhancement            |      Status:  reopened
 Priority:  normal                 |   Milestone:
Component:  HTTP API               |     Version:  trunk
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |     Focuses:
-----------------------------------+-----------------------

Comment (by lots.0.logs):

 Requests supports this out of the box. We shouldn't make something that is
 an option in requests impossible to use without extending the WP_Http
 class and overriding its request method. Again, all we have here is a
 bunch of opinions about disliking HTTP requests being made with a data
 payload. If you dislike it, then obviously don't do it. The patch I
 submitted simply makes it possible to use an option which is already
 supported in the requests library. It does not change the default behavior
 of the WP_Http API in any way.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39043#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list