Make WordPress Core

Opened 8 days ago

Last modified 8 days ago

#49203 new defect (bug)

Requests::request_multiple() does not honor $auth option

Reported by: alpipego Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: trunk
Component: HTTP API Keywords: needs-patch
Focuses: Cc:
PR Number:


If individual requests have an option for $auth, the authentication CURLOPTs 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.

Change History (1)

#1 @SergeyBiryukov
8 days ago

  • Summary changed from Requests::request_mulitple() does not honor $auth option to Requests::request_multiple() does not honor $auth option
Note: See TracTickets for help on using tickets.