Ryan Boren
|
4f60459b28
|
Add function_exists check for gzdecode. see #9761
git-svn-id: https://develop.svn.wordpress.org/trunk@11271 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-05-11 19:34:24 +00:00 |
Peter Westwood
|
fe0e3123c9
|
Minor tidy up from merge of changes to BackPress.
git-svn-id: https://develop.svn.wordpress.org/trunk@11237 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-05-07 21:49:10 +00:00 |
Peter Westwood
|
96c57854d3
|
Pass just the headers array to should_decode. Fixes #9754 props willnorris.
git-svn-id: https://develop.svn.wordpress.org/trunk@11236 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-05-07 21:18:20 +00:00 |
Ryan Boren
|
47d56db997
|
Send valid host when using WP_Http_Fsockopen over SSL. Props mdawaffe. fixes #9699
git-svn-id: https://develop.svn.wordpress.org/trunk@11154 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-05-01 23:53:38 +00:00 |
Ryan Boren
|
bb1a97303f
|
Use _http_build_query() if PHP version < 5.1.2. Props hakre. fixes #9044
git-svn-id: https://develop.svn.wordpress.org/trunk@11143 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-04-30 21:51:16 +00:00 |
Ryan Boren
|
70e2247b26
|
phpdoc udpates and error checks for http. Props DD32. fixes #8620
git-svn-id: https://develop.svn.wordpress.org/trunk@11091 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-04-26 23:54:59 +00:00 |
Ryan Boren
|
17bd503fb4
|
Correct spelling. Props jbsil. see #4011
git-svn-id: https://develop.svn.wordpress.org/trunk@10870 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-04-04 17:55:48 +00:00 |
Ryan Boren
|
5f2218455d
|
Proxy support. Props DD32. see #4011
git-svn-id: https://develop.svn.wordpress.org/trunk@10864 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-04-03 18:23:13 +00:00 |
Ryan Boren
|
8d00b5d37d
|
Trim trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@10810 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-03-18 02:43:45 +00:00 |
Peter Westwood
|
a179893991
|
First pass of HTTP Proxy support. See #4011 props jacobsantos.
git-svn-id: https://develop.svn.wordpress.org/trunk@10692 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-03-04 07:28:39 +00:00 |
Peter Westwood
|
7410e96063
|
Refactor the ssl blacklisting support info the individual test functions. Fixes #9078 props sivel.
git-svn-id: https://develop.svn.wordpress.org/trunk@10642 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-02-24 19:37:02 +00:00 |
Peter Westwood
|
6ccd5c2540
|
Better Notice fixing and place a protective cast in the cookie handler. Fixes #9068 props filosofo.
git-svn-id: https://develop.svn.wordpress.org/trunk@10639 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-02-23 21:55:49 +00:00 |
Ryan Boren
|
4fecb1a03d
|
Fix notice. Props sivel. fixes #9068
git-svn-id: https://develop.svn.wordpress.org/trunk@10633 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-02-23 06:40:03 +00:00 |
Peter Westwood
|
a79d06b51d
|
Add support for blocking all outbound HTTP requests. Improve HTTP Api phpdoc. Tidy up the poetry. Fixes #8927 props jacobsantos.
git-svn-id: https://develop.svn.wordpress.org/trunk@10625 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-02-22 09:58:47 +00:00 |
Ryan Boren
|
7822f3aad9
|
Handle empty pairs in cookies. Props DD32. fixes #9101
git-svn-id: https://develop.svn.wordpress.org/trunk@10565 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-02-12 20:44:34 +00:00 |
Ryan Boren
|
3a82ccc318
|
Add cookies arg to defaults to avoid warnings. Props beaulebens. fixes #9049
git-svn-id: https://develop.svn.wordpress.org/trunk@10563 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-02-12 20:37:23 +00:00 |
Andrew Ozz
|
40a91afb5d
|
Fix PHP notices in HTTP API Cookies, props beaulebens, fixes #9068
git-svn-id: https://develop.svn.wordpress.org/trunk@10524 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-02-08 04:20:34 +00:00 |
Ryan Boren
|
cb96fac899
|
Cookie support for HTTP API. Props beaulebens. fixes #9049 #9037 #8727
git-svn-id: https://develop.svn.wordpress.org/trunk@10512 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-02-05 21:59:37 +00:00 |
Ryan Boren
|
88b2fb0884
|
HTTP API updates and fixes. Props sivel. see #8702
git-svn-id: https://develop.svn.wordpress.org/trunk@10509 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-02-05 20:47:46 +00:00 |
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 |