markjaquith
|
b42ea9c4ea
|
Update the inline documentation for HTTP to reflect the true order of HTTP transports
git-svn-id: http://svn.automattic.com/wordpress/trunk@12785 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-01-21 12:02:55 +00:00 |
|
dd32
|
45b2389358
|
Fix Typo in r12747, Move cURL Redirection check higher. See #11305
git-svn-id: http://svn.automattic.com/wordpress/trunk@12749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-01-17 09:31:37 +00:00 |
|
dd32
|
5c739a4b9c
|
Allow WP_HTTP_Fopen to send extra headers and custom user-agents. See #11888
git-svn-id: http://svn.automattic.com/wordpress/trunk@12748 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-01-17 09:03:56 +00:00 |
|
dd32
|
b34906e9ec
|
Allow cURL to follow redirects when running under safe_mode or open_basedir. See #11305
git-svn-id: http://svn.automattic.com/wordpress/trunk@12747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-01-17 08:15:52 +00:00 |
|
dd32
|
8c109d738b
|
Fix WP_Http_Streams to return a single set of headers in the event of redirections. Fixes #11555
git-svn-id: http://svn.automattic.com/wordpress/trunk@12746 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-01-17 08:05:58 +00:00 |
|
dd32
|
651925fe74
|
Bring WP_Http_Streams maximum redirection into line with the rest of the transports. Fixes #11557
git-svn-id: http://svn.automattic.com/wordpress/trunk@12745 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-01-17 08:00:41 +00:00 |
|
dd32
|
e85a09e8e9
|
Correctly set the body on Curl requests with an empty body. Add a defensive check to WP_Http_Encoding::decompress to prevent the decompression functions running on empty strings. Fixes #11912
git-svn-id: http://svn.automattic.com/wordpress/trunk@12739 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-01-16 23:11:28 +00:00 |
|
azaozz
|
36b2df4606
|
When decompressing try to raw-inflate first, props dd32, fixes #11600
git-svn-id: http://svn.automattic.com/wordpress/trunk@12642 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-01-07 10:26:33 +00:00 |
|
ryan
|
5f20b65114
|
Don't use CURLOPT_CONNECTTIMEOUT_MS or CURLOPT_TIMEOUT_MS due to bugginess. fixes #11505 see #11499
git-svn-id: http://svn.automattic.com/wordpress/trunk@12472 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-12-21 19:34:38 +00:00 |
|
ryan
|
28d836c672
|
Properly handle float timeouts for all transports. Props mdawaffe. fixes #11468
git-svn-id: http://svn.automattic.com/wordpress/trunk@12424 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-12-17 16:13:58 +00:00 |
|
ryan
|
fee3cd75a3
|
Remove unused variable. Props hakre. fixes #10765
git-svn-id: http://svn.automattic.com/wordpress/trunk@12367 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-12-10 22:55:06 +00:00 |
|
westi
|
e7941d795e
|
Ensure WP_DEBUG is always defined and simplify the checks on it. Fixes #11090 props nacin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12207 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-11-18 08:22:49 +00:00 |
|
azaozz
|
e73a081be7
|
Expose HTTP PUT when supported, props mdawaffe, fixes #10855
git-svn-id: http://svn.automattic.com/wordpress/trunk@11977 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-09-26 22:52:42 +00:00 |
|
ryan
|
dcf36249d2
|
Fix content length setup. Props jacobsantos. fixes #10783
git-svn-id: http://svn.automattic.com/wordpress/trunk@11937 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-09-15 15:57:49 +00:00 |
|
ryan
|
203de75d3d
|
Use null instead of 0 when setting content length. Props noel. fixes #10783
git-svn-id: http://svn.automattic.com/wordpress/trunk@11932 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-09-14 20:49:18 +00:00 |
|
ryan
|
8e3808bce2
|
Remove trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@11930 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-09-14 14:03:32 +00:00 |
|
azaozz
|
5276c457f4
|
Don use has_action() before do_action() in http.php, props Viper007Bond, fixes #10625
git-svn-id: http://svn.automattic.com/wordpress/trunk@11835 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-08-16 22:43:48 +00:00 |
|
markjaquith
|
aa6bbb479c
|
Force IPv4 (127.0.0.1) when connecting to localhost, as many dev environments are not set up to serve on IPv6 (::1). props dd32. fixes #10045
git-svn-id: http://svn.automattic.com/wordpress/trunk@11759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-07-31 09:40:16 +00:00 |
|
markjaquith
|
8bd3d6cab9
|
add some filters so that HTTP requests can be filtered. props johnbillion. fixes #10413
git-svn-id: http://svn.automattic.com/wordpress/trunk@11758 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-07-31 09:37:45 +00:00 |
|
ryan
|
684d12ae53
|
Better compression compat. Props dd32. see #10163
git-svn-id: http://svn.automattic.com/wordpress/trunk@11684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-07-02 23:18:27 +00:00 |
|
azaozz
|
fe384afb00
|
Add missing localization in WP_HTTP, props Denis-de-Bernardy, fixes #10231 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@11653 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-06-26 14:41:12 +00:00 |
|
ryan
|
00c27d7e17
|
Revert [11524]. curl has its problems, but so does everything else. see #9998 fixes #10104 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@11630 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-06-23 19:18:27 +00:00 |
|
azaozz
|
782b2624e3
|
Preferred transport: move curl to last position and fockopen to 2nd position due to higher compatibility, props DD32, fixes #9998
git-svn-id: http://svn.automattic.com/wordpress/trunk@11524 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-06-06 06:51:35 +00:00 |
|
ryan
|
2df887bd07
|
Trim tailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@11450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-05-24 23:47:49 +00:00 |
|
ryan
|
2dab570b8b
|
Fix bad call to str_replace. see #9395
git-svn-id: http://svn.automattic.com/wordpress/trunk@11355 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-05-16 04:46:31 +00:00 |
|
ryan
|
e0763aa711
|
Support headers split over multiple lines. Props hakre, Denis-de-Bernardy, wnorris. fixes #9395
git-svn-id: http://svn.automattic.com/wordpress/trunk@11351 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-05-16 02:17:55 +00:00 |
|
ryan
|
649fd36f57
|
Add function_exists check for gzdecode. see #9761
git-svn-id: http://svn.automattic.com/wordpress/trunk@11271 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-05-11 19:34:24 +00:00 |
|
westi
|
b8bc0b796a
|
Minor tidy up from merge of changes to BackPress.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11237 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-05-07 21:49:10 +00:00 |
|
westi
|
79c7fb33fa
|
Pass just the headers array to should_decode. Fixes #9754 props willnorris.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11236 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-05-07 21:18:20 +00:00 |
|
ryan
|
31e805261c
|
Send valid host when using WP_Http_Fsockopen over SSL. Props mdawaffe. fixes #9699
git-svn-id: http://svn.automattic.com/wordpress/trunk@11154 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-05-01 23:53:38 +00:00 |
|
ryan
|
36eee06eb3
|
Use _http_build_query() if PHP version < 5.1.2. Props hakre. fixes #9044
git-svn-id: http://svn.automattic.com/wordpress/trunk@11143 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-04-30 21:51:16 +00:00 |
|
ryan
|
f2f9eafc26
|
phpdoc udpates and error checks for http. Props DD32. fixes #8620
git-svn-id: http://svn.automattic.com/wordpress/trunk@11091 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-04-26 23:54:59 +00:00 |
|
ryan
|
77919b9259
|
Correct spelling. Props jbsil. see #4011
git-svn-id: http://svn.automattic.com/wordpress/trunk@10870 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-04-04 17:55:48 +00:00 |
|
ryan
|
93c512ded4
|
Proxy support. Props DD32. see #4011
git-svn-id: http://svn.automattic.com/wordpress/trunk@10864 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-04-03 18:23:13 +00:00 |
|
ryan
|
e8b6fe7347
|
Trim trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@10810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-03-18 02:43:45 +00:00 |
|
westi
|
add8403cec
|
First pass of HTTP Proxy support. See #4011 props jacobsantos.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10692 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-03-04 07:28:39 +00:00 |
|
westi
|
5a22f22cdc
|
Refactor the ssl blacklisting support info the individual test functions. Fixes #9078 props sivel.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10642 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-02-24 19:37:02 +00:00 |
|
westi
|
0c17950d3e
|
Better Notice fixing and place a protective cast in the cookie handler. Fixes #9068 props filosofo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10639 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-02-23 21:55:49 +00:00 |
|
ryan
|
ffb28cf66d
|
Fix notice. Props sivel. fixes #9068
git-svn-id: http://svn.automattic.com/wordpress/trunk@10633 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-02-23 06:40:03 +00:00 |
|
westi
|
c7f59f6cfe
|
Add support for blocking all outbound HTTP requests. Improve HTTP Api phpdoc. Tidy up the poetry. Fixes #8927 props jacobsantos.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10625 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-02-22 09:58:47 +00:00 |
|
ryan
|
4c5da3c279
|
Handle empty pairs in cookies. Props DD32. fixes #9101
git-svn-id: http://svn.automattic.com/wordpress/trunk@10565 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-02-12 20:44:34 +00:00 |
|
ryan
|
a114c10ca9
|
Add cookies arg to defaults to avoid warnings. Props beaulebens. fixes #9049
git-svn-id: http://svn.automattic.com/wordpress/trunk@10563 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-02-12 20:37:23 +00:00 |
|
azaozz
|
dad4caa7e5
|
Fix PHP notices in HTTP API Cookies, props beaulebens, fixes #9068
git-svn-id: http://svn.automattic.com/wordpress/trunk@10524 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-02-08 04:20:34 +00:00 |
|
ryan
|
e8dc44ad07
|
Cookie support for HTTP API. Props beaulebens. fixes #9049 #9037 #8727
git-svn-id: http://svn.automattic.com/wordpress/trunk@10512 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-02-05 21:59:37 +00:00 |
|
ryan
|
515fd53ef5
|
HTTP API updates and fixes. Props sivel. see #8702
git-svn-id: http://svn.automattic.com/wordpress/trunk@10509 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-02-05 20:47:46 +00:00 |
|
ryan
|
091b7a876b
|
Revert 10507. Had extra bits in. see #8702
git-svn-id: http://svn.automattic.com/wordpress/trunk@10508 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-02-05 20:47:30 +00:00 |
|
ryan
|
80a6b13f81
|
HTTP API updates and fixes. Props sivel. see #8702
git-svn-id: http://svn.automattic.com/wordpress/trunk@10507 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-02-05 20:46:39 +00:00 |
|
westi
|
fe07a83717
|
First pass compression support for the HTTP API. See #8674 props jacobsantos.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10410 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-01-22 21:16:11 +00:00 |
|
westi
|
d37f5eb754
|
update phpdoc to hilight return of WP_Error objects on failures. See #8620.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10359 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-01-14 21:40:41 +00:00 |
|
ryan
|
2e8544be9a
|
Fix URL checking and add phpdoc. Props jacobsantos. fixes #8787 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-01-06 17:29:24 +00:00 |
|