Ryan Boren
|
c34a272b1e
|
Revert 10507. Had extra bits in. see #8702
git-svn-id: https://develop.svn.wordpress.org/trunk@10508 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-02-05 20:47:30 +00:00 |
Ryan Boren
|
c0ece11af5
|
HTTP API updates and fixes. Props sivel. see #8702
git-svn-id: https://develop.svn.wordpress.org/trunk@10507 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-02-05 20:46:39 +00:00 |
Peter Westwood
|
1767554cde
|
First pass compression support for the HTTP API. See #8674 props jacobsantos.
git-svn-id: https://develop.svn.wordpress.org/trunk@10410 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-01-22 21:16:11 +00:00 |
Peter Westwood
|
b646d66c7e
|
update phpdoc to hilight return of WP_Error objects on failures. See #8620.
git-svn-id: https://develop.svn.wordpress.org/trunk@10359 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-01-14 21:40:41 +00:00 |
Ryan Boren
|
fc9382deca
|
Fix URL checking and add phpdoc. Props jacobsantos. fixes #8787 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10320 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-01-06 17:29:24 +00:00 |
Ryan Boren
|
da013965d9
|
And instead of or. Props mercurix. fixes #8787 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10309 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-01-05 18:42:02 +00:00 |
Andrew Ozz
|
d049036ceb
|
Pass the URL to the 'http_request_args' filter, props DD32, fixes #8780
git-svn-id: https://develop.svn.wordpress.org/trunk@10294 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-01-04 04:34:01 +00:00 |
Ryan Boren
|
c925939b3d
|
Pass ref in array to avoid warning. fixes #8766
git-svn-id: https://develop.svn.wordpress.org/trunk@10289 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-12-31 22:33:46 +00:00 |
Ryan Boren
|
44363b9f5f
|
Chunked decoding fix from jacobsantos. fixes #8618
git-svn-id: https://develop.svn.wordpress.org/trunk@10283 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-12-31 03:02:53 +00:00 |
Ryan Boren
|
9563bbea98
|
Chunked decode fixes. Don't return WP_Error for body. Props jacobsantos. see #8618
git-svn-id: https://develop.svn.wordpress.org/trunk@10282 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-12-30 22:53:35 +00:00 |
Ryan Boren
|
601ba7bcf0
|
HTTP API debug and action for curl object. Props jacobsantos. see #8727
git-svn-id: https://develop.svn.wordpress.org/trunk@10281 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-12-30 22:45:51 +00:00 |
Ryan Boren
|
fcc53e993b
|
Set Content-Length to 0 for null body requests. Props Jalada. see #8605
git-svn-id: https://develop.svn.wordpress.org/trunk@10211 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-12-16 22:07:18 +00:00 |
Peter Westwood
|
ee2ccaaf3b
|
Test for curl_exec as well to catch hosts that disable it but not curl_init. Fixes #8577 for trunk props sivel.
git-svn-id: https://develop.svn.wordpress.org/trunk@10190 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-12-11 18:08:58 +00:00 |
Ryan Boren
|
baaaa352ba
|
Strip trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@10150 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-12-09 18:03:31 +00:00 |
Ryan Boren
|
9a7e2fc242
|
Fix raw_response code in Streams transport. Props jacobsantos. fixes #8476
git-svn-id: https://develop.svn.wordpress.org/trunk@10117 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-12-07 20:30:59 +00:00 |
Peter Westwood
|
ee9e57b97b
|
Ensure the curl transport supports HEAD requests. Merge from BackPress props sambauers.
git-svn-id: https://develop.svn.wordpress.org/trunk@10087 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-12-06 10:09:05 +00:00 |
Ryan Boren
|
158b8c81e9
|
user_agent, not user-agent, for Streams transport. Props alexrabe. fixes #8500
git-svn-id: https://develop.svn.wordpress.org/trunk@10072 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-12-05 20:12:51 +00:00 |
Ryan Boren
|
62ddc13d82
|
Round timeouts less then 1 but greater than 0 to 1 for curl transport. see #8086
git-svn-id: https://develop.svn.wordpress.org/trunk@10025 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-12-03 19:56:05 +00:00 |
Ryan Boren
|
94bfb09963
|
If api.wp.org request blocks, make sure another requests isn't scheduled for 12 hours. see #8347
git-svn-id: https://develop.svn.wordpress.org/trunk@9901 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-11-26 11:48:05 +00:00 |
Ryan Boren
|
f5ec38f222
|
Auto set content-length. Props jacobsantos. fixes #8249
git-svn-id: https://develop.svn.wordpress.org/trunk@9741 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-11-17 21:21:35 +00:00 |
Ryan Boren
|
fab4e5a68e
|
Unused var fixes. Props DD32. see #8220
git-svn-id: https://develop.svn.wordpress.org/trunk@9716 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-11-15 18:10:35 +00:00 |
Ryan Boren
|
ef2975a179
|
Add missing array keys. fixes #8121
git-svn-id: https://develop.svn.wordpress.org/trunk@9575 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-11-08 23:13:33 +00:00 |
Ryan Boren
|
28b8dc875e
|
Prioritize transports differently for non-blocking requests. fixes #8086
git-svn-id: https://develop.svn.wordpress.org/trunk@9572 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-11-08 22:35:00 +00:00 |
Peter Westwood
|
6bbd750157
|
Longer default timeouts, more filters and other HTTP changes.
git-svn-id: https://develop.svn.wordpress.org/trunk@9188 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-10-15 20:36:23 +00:00 |
Ryan Boren
|
1bd22eb542
|
Report curl errors
git-svn-id: https://develop.svn.wordpress.org/trunk@9185 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-10-15 16:35:35 +00:00 |
Ryan Boren
|
1da36b352f
|
Chunked encoding fixes from DD32. fixes #7770
git-svn-id: https://develop.svn.wordpress.org/trunk@9091 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-10-06 23:10:22 +00:00 |
Andrew Ozz
|
7fe9b8dbe0
|
phpDoc corrections for http.php, props jacobsantos fixes #7550
git-svn-id: https://develop.svn.wordpress.org/trunk@8842 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-09-08 01:23:43 +00:00 |
Andrew Ozz
|
d852afb9e9
|
Disable fsockopen for 12 hours if it fails. Props jacobsantos, fixes #7514
git-svn-id: https://develop.svn.wordpress.org/trunk@8654 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-08-16 05:38:57 +00:00 |
Ryan Boren
|
257fd97f4c
|
Always use '&' as arg separator when building the body. fixes #7522
git-svn-id: https://develop.svn.wordpress.org/trunk@8648 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-08-14 22:54:43 +00:00 |
Ryan Boren
|
93f3f4cdb5
|
Adds checking for fsockopen to check for WP_DEBUG and silently drop warnings. Adds streams_set_timeout to fsockopen to help prevent long waits. Props santosj. see #7514
git-svn-id: https://develop.svn.wordpress.org/trunk@8644 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-08-13 23:37:42 +00:00 |
Peter Westwood
|
35716061ac
|
Fix bugs in chunked encoding handling. See #4779 props santosj.
git-svn-id: https://develop.svn.wordpress.org/trunk@8634 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-08-13 05:09:59 +00:00 |
Peter Westwood
|
ca850a4456
|
HTTP API improvements. Implements chunked transfer decoding. Moves plugin update checker over to api. see #4779 props santosj.
git-svn-id: https://develop.svn.wordpress.org/trunk@8630 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-08-12 21:21:11 +00:00 |
Ryan Boren
|
2272a1a950
|
Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@8600 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-08-09 05:36:14 +00:00 |
Peter Westwood
|
4bff225e94
|
Ensure fsockopen HTTP requests have Content-length and Content-type headers. See #4779 props DD32.
git-svn-id: https://develop.svn.wordpress.org/trunk@8588 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-08-08 16:28:07 +00:00 |
Ryan Boren
|
5fb79ce141
|
Fix issues with fsockopen transport. Props santosj. see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8586 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-08-08 00:02:11 +00:00 |
Ryan Boren
|
695197e232
|
Fixes cURL for Cron in non-blocking mode. Props santosj. fixes #7481 see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8584 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-08-07 22:57:16 +00:00 |
Ryan Boren
|
b5e5eb7b91
|
Fix Copy and Paste bug in cURL transport based. Props santosj. see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8583 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-08-07 22:56:21 +00:00 |
Ryan Boren
|
eb3daa5799
|
Check the headers for the transfer-encoding for chunked. Props santosj. see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8578 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-08-06 21:57:25 +00:00 |
Ryan Boren
|
17bc095dd1
|
Fix notice about body not having chunk formatting. Props santosj. see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8560 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-08-05 22:22:07 +00:00 |
Ryan Boren
|
c7ac46fe86
|
Fix chunked decoding. Props santosj. see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8549 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-08-05 17:01:49 +00:00 |
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 |