[wp-trac] [WordPress Trac] #37494: Proxy authentication is ignored by Requests
WordPress Trac
noreply at wordpress.org
Thu Jul 28 11:06:47 UTC 2016
#37494: Proxy authentication is ignored by Requests
------------------------------+------------------------
Reporter: francescobagnoli | Owner: rmccue
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: 4.6
Component: HTTP API | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
------------------------------+------------------------
Comment (by francescobagnoli):
@ocean90 Requests_Proxy_HTTP set $use_authentication property to true,
only if Requests_Proxy_HTTP::__construct() an array parameter with 3 args!
{{{#!php
<?php
$options['proxy'] = new Requests_Proxy_HTTP( array($proxy->host() . ':' .
$proxy->port(), $proxy->username(), $proxy->password()) );
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37494#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list