[wp-trac] [WordPress Trac] #8702: HTTP API Updates
WordPress Trac
wp-trac at lists.automattic.com
Mon Dec 22 22:36:39 GMT 2008
#8702: HTTP API Updates
-------------------------+--------------------------------------------------
Reporter: sivel | Owner: anonymous
Type: enhancement | Status: new
Priority: normal | Milestone: 2.7.1
Component: General | Version: 2.7
Severity: normal | Keywords: has-patch needs-testing
-------------------------+--------------------------------------------------
Changes:
* Allow cURL/pecl_http/Streams to GET/POST/HEAD to site protected by
invalid SSL cert, fopen works with invalid SSL certs without
configuration. Fsockopen will not work with invalid SSL certs, and does
not contain configurations to allow it to do so. Fsockopen is the last
transport listed so hopefully an https request using an invalid SSL cert
will be handled before fsockopen, otherwise is will just return an error.
* Use timeout argument in cURL for the connect timeout also
* Use true/false in place of numeric boolean values in curl_setopt
* Add support to POST via cURL
* Update default user-agent. See
http://trac.wordpress.org/changeset/10238 for format.
* Enabling non-blocking request caused curl to make a head request due to
curlopt_nobody being set to true.
--
Ticket URL: <http://trac.wordpress.org/ticket/8702>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list