[wp-trac] [WordPress Trac] #37843: `http_api_curl` hook no longer available for adding custom cURL options

WordPress Trac noreply at wordpress.org
Tue Aug 30 15:35:29 UTC 2016


#37843: `http_api_curl` hook no longer available for adding custom cURL options
--------------------------+------------------------------
 Reporter:  ChaseWiseman  |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  HTTP API      |     Version:  4.6
 Severity:  normal        |  Resolution:
 Keywords:  dev-feedback  |     Focuses:
--------------------------+------------------------------

Comment (by JRGould):

 The HTTP API currently feels pretty crippled without the ability to set
 curl options or utilize Requests' hooks in general. Adding a filter on
 `$options` with an additional `$url` arg just before calling
 `Requests::request()` would be incredibly helpful.

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


More information about the wp-trac mailing list