Dion Hulse
|
d07aeb8b07
|
Add inflation support for java.util.zip.Deflater in WP_Http_Encoding::compatible_gzinflate(). Fixes #18273
git-svn-id: https://develop.svn.wordpress.org/trunk@18718 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-09-19 14:43:43 +00:00 |
Jon Cave
|
205aa5ba5c
|
Fix typos in documentation (wp-includes/[a-h]). See #18560.
git-svn-id: https://develop.svn.wordpress.org/trunk@18633 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-09-03 16:02:41 +00:00 |
Ryan Boren
|
90ec88ca6e
|
Empty headers instance var instead of unsetting to avoid warning. Props chrisbliss18. fixes #18157
git-svn-id: https://develop.svn.wordpress.org/trunk@18457 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-07-21 21:44:35 +00:00 |
Ryan Boren
|
46d96c7704
|
Bring out the pinking shears.
git-svn-id: https://develop.svn.wordpress.org/trunk@18254 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-06-10 23:01:45 +00:00 |
Ryan Boren
|
d2af1830bc
|
HTTP API PHP Doc Updates. Props sivel. fixes #17724
git-svn-id: https://develop.svn.wordpress.org/trunk@18185 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-06-08 00:51:31 +00:00 |
Peter Westwood
|
93fe935843
|
Fix typos and inconsistencies in PHPdoc / function declarations. See #17414 props duck_
git-svn-id: https://develop.svn.wordpress.org/trunk@17925 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-05-14 09:50:20 +00:00 |
Peter Westwood
|
c30cd0193d
|
Introduce wp_http_supports as a much less hacky replacement for the http_transport_(get|post)_debug hooks that plugins could have
been using to detect if things like ssl requests were working.
See #17251 props mdawaffe
git-svn-id: https://develop.svn.wordpress.org/trunk@17914 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-05-13 09:56:59 +00:00 |
Ryan Boren
|
9730cb8d15
|
Constructor cleanup. Props ocean90. fixes #16768
git-svn-id: https://develop.svn.wordpress.org/trunk@17771 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-04-29 20:05:12 +00:00 |
Dion Hulse
|
0722876118
|
Allow the cURL transport to handle '0' response bodies. Fixes #17223
git-svn-id: https://develop.svn.wordpress.org/trunk@17692 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-04-23 13:49:52 +00:00 |
Dion Hulse
|
cff5b0ac2a
|
Remove support for the PHP HTTP Extension from WP_HTTP. The PHP HTTP Extension is a wrapper around libcurl and fopen() providing limited configuration and is supported on a minority of servers due to its non-default inclusion. Props sivel. Fixes @16978
git-svn-id: https://develop.svn.wordpress.org/trunk@17659 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-04-19 04:22:59 +00:00 |
Dion Hulse
|
2b6b333f6b
|
Verify certificate matches both the common name and the provided hostname. WP_HTTP_Curl requires CURLOPT_SSL_VERIFYHOST be either 2 or false. Props sivel. Fixes #16904
git-svn-id: https://develop.svn.wordpress.org/trunk@17616 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-04-07 08:38:36 +00:00 |
Dion Hulse
|
6a7acd8252
|
explode always returns an array in this context. Props hakre. Fixes #16958
git-svn-id: https://develop.svn.wordpress.org/trunk@17600 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-04-05 06:41:51 +00:00 |
Dion Hulse
|
7b08c38074
|
Fix warning in HTTP Header parsing where response message is not specified. Props hakre. Fixes #16885
git-svn-id: https://develop.svn.wordpress.org/trunk@17599 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-04-05 06:21:56 +00:00 |
Dion Hulse
|
6fef66fc89
|
Streamline WP_Http_*::test() methods: Check basic SSL requirements, only allow filters to disable transports, not enable them after ::test() has failed. Props mdawaffe for the initial patch. See #16606
git-svn-id: https://develop.svn.wordpress.org/trunk@17598 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-04-05 06:09:43 +00:00 |
Dion Hulse
|
14d2e5d358
|
Return 4xx errors as a standard response from WP_HTTP, Brings it in line with the rest of the transports for 4xx error handling. See #17010
git-svn-id: https://develop.svn.wordpress.org/trunk@17597 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-04-05 04:06:40 +00:00 |
Dion Hulse
|
6901f20e9b
|
Use the correct variable name; Simpler static initialisation. Props hakre. See #11613 & #16978
git-svn-id: https://develop.svn.wordpress.org/trunk@17566 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-03-28 09:55:15 +00:00 |
Dion Hulse
|
fbb5ad3afc
|
Correct logic for cURL Errors, add extra sanity protection in ::processHeaders to guard against null inputs. See #16236
git-svn-id: https://develop.svn.wordpress.org/trunk@17563 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-03-26 03:32:05 +00:00 |
Dion Hulse
|
ec8280cfd8
|
First run of introducing Stream-To-File for the WP_HTTP API. Reduces memory consumption during file downloads. Implemented in download_url() for upgraders. Props sivel. See #16236
git-svn-id: https://develop.svn.wordpress.org/trunk@17555 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-03-25 02:42:20 +00:00 |
Dion Hulse
|
3591957d49
|
Allow for array('redirection' => 0) to bypass WP_Error on redirects being encountered; Allows HEAD requests WITH 'redirection' > 0 specified at call time to follow redirections; Standardises on return values from all transports to act the same based on the Unit Tests. Fixes #16855
git-svn-id: https://develop.svn.wordpress.org/trunk@17551 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-03-24 05:18:34 +00:00 |
Dion Hulse
|
048fcd1cce
|
Fix WP_HTTP to only make a request upon a working transport, as well as to allow Unit Testing. Removes the getTransport() & postTransport() methods as they're no longer needed, replaces them with a single _dispatch_request() method. Fixes #11613
git-svn-id: https://develop.svn.wordpress.org/trunk@17550 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-03-24 02:16:13 +00:00 |
Dion Hulse
|
615e0c5bc7
|
Prune PHP5 compat checks in WP_Http, WP_Http_Curl & WP_Http_Streams. Only removes pre PHP 5.2.4 conditional code. See #13915
git-svn-id: https://develop.svn.wordpress.org/trunk@17535 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-03-23 11:58:09 +00:00 |
Dion Hulse
|
1a22b56c53
|
Remove PHP4 based WP_Http_Fopen class. Props sivel for initial patch. See #16917 Fixes #13915
git-svn-id: https://develop.svn.wordpress.org/trunk@17534 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-03-23 11:35:41 +00:00 |
Andrew Nacin
|
bf475c9d6f
|
Just a typo of the class name. fixes #14786.
git-svn-id: https://develop.svn.wordpress.org/trunk@17282 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-01-13 05:08:40 +00:00 |
Andrew Nacin
|
af3222dc7e
|
We only need strpos here. Ensures PHP4 compat. props mailnew2ster, fixes #14187.
git-svn-id: https://develop.svn.wordpress.org/trunk@16762 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-07 07:17:06 +00:00 |
Ryan Boren
|
36a4508140
|
Update since phpdoc. Props demetris. fixes #15445
git-svn-id: https://develop.svn.wordpress.org/trunk@16660 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-01 19:24:38 +00:00 |
Andrew Nacin
|
5183bee738
|
WP_Http_ExtHTTP variable fix. Don't pass an empty array to http_request, props mdawaffe, fixes #13730.
git-svn-id: https://develop.svn.wordpress.org/trunk@16450 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-11-18 03:34:28 +00:00 |
Dion Hulse
|
80fc91b2ed
|
Support wildcard domains in WP_PROXY_BYPASS_HOSTS and WP_ACCESSIBLE_HOSTS. Fixes #14636
git-svn-id: https://develop.svn.wordpress.org/trunk@15911 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-22 10:27:35 +00:00 |
Dion Hulse
|
fd8152d074
|
Remove redundant strtolower() in WP_HTTP. Props rmccue. Fixes #14168
git-svn-id: https://develop.svn.wordpress.org/trunk@15362 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-07-02 07:52:14 +00:00 |
Andrew Nacin
|
6611e799ea
|
Some whitespace in WP_HTTP. props hakre, see #13897.
git-svn-id: https://develop.svn.wordpress.org/trunk@15309 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-06-23 14:26:57 +00:00 |
Dion Hulse
|
b690dd5bfe
|
Some coding standards cleanups for WP_HTTP. Props hakre for initial patch. See #13897
git-svn-id: https://develop.svn.wordpress.org/trunk@15285 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-06-19 07:02:09 +00:00 |
Dion Hulse
|
ef753d5a64
|
Fix typo in HTTP Class. Props filosofo. Fixes #13897 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@15284 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-06-19 06:54:21 +00:00 |
Ryan Boren
|
92fe0bb5b6
|
Fix logic
git-svn-id: https://develop.svn.wordpress.org/trunk@15143 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-06-04 20:11:06 +00:00 |
Andrew Nacin
|
8d6694a68d
|
Revert part of r14429 as it broke HTTP in setup-config. Revisit when we decide to fully deprecate get_bloginfo(url). see #9008.
git-svn-id: https://develop.svn.wordpress.org/trunk@14455 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-04 21:41:45 +00:00 |
Andrew Nacin
|
3d3322c1d6
|
Revert accidental removal of parse_url(). see #9008, props PeteMall.
git-svn-id: https://develop.svn.wordpress.org/trunk@14430 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-04 04:57:22 +00:00 |
Ron Rennick
|
c2b89e7330
|
use homeurl(), props PeteMall, see #9008
git-svn-id: https://develop.svn.wordpress.org/trunk@14429 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-04 00:28:29 +00:00 |
Ryan Boren
|
d783952469
|
Strip trailing whites.
git-svn-id: https://develop.svn.wordpress.org/trunk@14404 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-03 20:26:11 +00:00 |
Andrew Nacin
|
96fd06e10d
|
Remove debug.
git-svn-id: https://develop.svn.wordpress.org/trunk@14363 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-03 07:12:26 +00:00 |
Andrew Nacin
|
7ce20b12cf
|
Prevent fatal error when falling back to fsockopen in the setup-config.php key/salt HTTP request. fixes #13030.
git-svn-id: https://develop.svn.wordpress.org/trunk@14361 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-03 06:28:05 +00:00 |
Dion Hulse
|
b15624a124
|
Bail from WP_HTTP when a invalid URL is provided. Fixes #12964
git-svn-id: https://develop.svn.wordpress.org/trunk@14134 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-18 04:58:19 +00:00 |
Dion Hulse
|
aaf9bcf21d
|
Fix typo in Proxy Authorization header. Props thales.tede. Fixes #12995
git-svn-id: https://develop.svn.wordpress.org/trunk@14129 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-18 04:01:19 +00:00 |
Andrew Nacin
|
c423c01a44
|
Clean up the HTTP inline docs to reflect the times. props jacobsantos, fixes #12882.
git-svn-id: https://develop.svn.wordpress.org/trunk@14050 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-10 11:23:21 +00:00 |
Dion Hulse
|
52269956a3
|
Whitespace only Cookie pairs are not permitted; Skip them. Props josephscott. Fixes #12761
git-svn-id: https://develop.svn.wordpress.org/trunk@13887 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-30 10:22:30 +00:00 |
Dion Hulse
|
c784614283
|
Avoid notices for requests with no body. Also fixes a few race conditions related to headers. Fixes #11872
git-svn-id: https://develop.svn.wordpress.org/trunk@13849 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-28 00:56:43 +00:00 |
Dion Hulse
|
0620459e8d
|
Correct Array style for returning Multiple HTTP Headers. See #12045
git-svn-id: https://develop.svn.wordpress.org/trunk@13847 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-28 00:23:40 +00:00 |
Mark Jaquith
|
8bca8131a6
|
More pedantry. "Setup" is not a verb. http://notaverb.com/setup
git-svn-id: https://develop.svn.wordpress.org/trunk@13725 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-17 04:39:50 +00:00 |
Dion Hulse
|
913ab67ecb
|
Fix spelling typo's in r13484. See #12200
git-svn-id: https://develop.svn.wordpress.org/trunk@13485 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-28 04:27:32 +00:00 |
Dion Hulse
|
c74a4432b4
|
Support non-BASIC Authentication schemes in the HTTP API if server supports them. Props ssandison, See #4011, Fixes #12200
git-svn-id: https://develop.svn.wordpress.org/trunk@13484 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-28 04:24:04 +00:00 |
Dion Hulse
|
bc2c6922cb
|
New files svn:eol-style: native.
git-svn-id: https://develop.svn.wordpress.org/trunk@13448 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-27 03:37:38 +00:00 |
Andrew Nacin
|
f62e8796d9
|
Clean up redundant defined() check. Props TobiasBg fixes #12375
git-svn-id: https://develop.svn.wordpress.org/trunk@13422 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-26 00:37:20 +00:00 |
Ryan Boren
|
66b081abd2
|
Remove author tags. fixes #12366
git-svn-id: https://develop.svn.wordpress.org/trunk@13377 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-24 19:07:21 +00:00 |