Commit Graph

115 Commits

Author SHA1 Message Date
Ryan Boren f43f8fcc29 Streams transport fixes from jacobsantos. fixes #7456 see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8548 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-05 16:33:20 +00:00
Ryan Boren 973a10982b Suppress fopen errors if WP_DEBUG is not enabled. Props jacobsantos. fixes #7456 see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8545 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-05 05:45:34 +00:00
Ryan Boren 89223e4a84 Fix reversed encoding. Props DD32. see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8544 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-05 04:14:55 +00:00
Ryan Boren 72e2ee06bb Tests for whether is an array or an object before running http_build_query() on . Props santosj. fixes #7460 see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8536 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-04 19:12:26 +00:00
Ryan Boren d64f028b60 Return response in foreach loop and remove debugging line. Props santosj. see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8535 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-04 18:45:44 +00:00
Ryan Boren ab2239137f Don't call curl_setopt() if safe_mode is enabled. Props ionfish and Po0ky. fixes #7458 see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8534 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-04 17:03:05 +00:00
Ryan Boren 6a5662b4a5 Cycle through available transports trying each one. Props jacobsantos. see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8533 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-04 16:28:12 +00:00
Ryan Boren 53de042ebd Timeout in WP_Http_Streams::request causes Fatal error abort. Props wet. fixes #7465 see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8528 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-03 21:01:28 +00:00
Ryan Boren df0af53a86 Fixes process headers for fopen header return, fixes HTTP extension response array. Also adds Curl implementation and allows for it to be used when using headers. Props santosj. see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8524 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-01 23:13:48 +00:00
Ryan Boren 4caa408fac Fixes process headers for fopen header return, fixes HTTP extension response array. Props santosj. see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8523 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-01 22:31:57 +00:00
Ryan Boren b7d7804240 Various http fixes from santosj. see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8522 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-01 21:24:03 +00:00
Ryan Boren 2a1795ae26 Initial cURL support. Doc and non-blocking mode fixes. Props santosj. see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8520 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-01 18:44:40 +00:00
Ryan Boren 0e54a9ce6b Formatting changes and non-blocking mode. Props DD32. see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8519 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-01 16:36:50 +00:00
Ryan Boren dca0f147b2 Formatting and phpdoc cleanups from DD32. see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8518 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-01 05:45:13 +00:00
Ryan Boren 086b9294b9 HTTP POST and REQUEST API from jacobsantos. see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8516 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-01 05:00:07 +00:00