[wp-trac] [WordPress Trac] #49203: Requests::request_mulitple() does not honor $auth option

WordPress Trac noreply at wordpress.org
Wed Jan 15 13:40:53 UTC 2020


#49203: Requests::request_mulitple() does not honor $auth option
--------------------------+-----------------------------
 Reporter:  alpipego      |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  HTTP API      |    Version:  trunk
 Severity:  normal        |   Keywords:  needs-patch
  Focuses:                |
--------------------------+-----------------------------
 If individual requests have an option for `$auth`, the authentication
 `CURLOPT`s don't get set as `curl.before_send` is never dispatched.

 Manually setting an 'Authorization' header overcomes this limitation. I
 suspect this is not intended behaviour however, cf. documentation in
 #48349.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/49203>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list