wordpress-develop/tests/phpunit/tests/http
Dominik Schilling 24f890045c HTTP API: Normalize cookies before passing them to Requests.
Requests has its own cookie object in form of `Requests_Cookie`. Therefore we have to convert `WP_Http_Cookie` objects to `Requests_Cookie`.
This introduces `WP_Http_Cookie::get_attributes()` to retrieve cookie attributes of a `WP_Http_Cookie` object and `WP_Http::normalize_cookies()` to convert the cookie objects.

Fixes #37437.

git-svn-id: https://develop.svn.wordpress.org/trunk@38164 602fd350-edb4-49c9-b593-d223f7449a82
2016-07-27 15:31:48 +00:00
..
base.php HTTP API: Replace internals with Requests library. 2016-05-13 04:41:45 +00:00
curl.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
functions.php HTTP API: Normalize cookies before passing them to Requests. 2016-07-27 15:31:48 +00:00
getHttpHeaders.php HTTP: Add unit tests for wp_get_http_headers() and wp_remote_retrieve_headers(). 2016-06-29 12:46:59 +00:00
http.php HTTP API: Add the missing 1xx HTTP response codes as constants of the WP_Http class, and add tests to ensure all available response codes are covered. 2016-02-28 01:45:24 +00:00
remoteRetrieveHeaders.php HTTP: Add unit tests for wp_get_http_headers() and wp_remote_retrieve_headers(). 2016-06-29 12:46:59 +00:00
streams.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00