mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-05 20:28:07 +02:00
`class-http.php` requires functions from `http.php`, so loading it by itself wouldn't have worked. Creates: `class-wp-http-cookie.php` `class-wp-http-curl.php` `class-wp-http-encoding.php` `class-wp-http-proxy.php` `class-wp-http-streams.php` `http-functions.php` `WP_Http` remains in `class-http.php`. `http.php` contains only top-level code. Class files only contain classes. Functions file only contains functions. See #33413. Built from https://develop.svn.wordpress.org/trunk@33748 git-svn-id: http://core.svn.wordpress.org/trunk@33716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
21 lines
801 B
PHP
21 lines
801 B
PHP
<?php
|
|
/**
|
|
* Simple and uniform HTTP request API.
|
|
*
|
|
* Standardizes the HTTP requests for WordPress. Handles cookies, gzip encoding and decoding, chunk
|
|
* decoding, if HTTP 1.1 and various other difficult HTTP protocol implementations.
|
|
*
|
|
* @link https://core.trac.wordpress.org/ticket/4779 HTTP API Proposal
|
|
*
|
|
* @package WordPress
|
|
* @subpackage HTTP
|
|
* @since 2.7.0
|
|
*/
|
|
|
|
require_once( ABSPATH . WPINC . '/http-functions.php' );
|
|
require_once( ABSPATH . WPINC . '/class-http.php' );
|
|
require_once( ABSPATH . WPINC . '/class-wp-http-streams.php' );
|
|
require_once( ABSPATH . WPINC . '/class-wp-http-curl.php' );
|
|
require_once( ABSPATH . WPINC . '/class-wp-http-proxy.php' );
|
|
require_once( ABSPATH . WPINC . '/class-wp-http-cookie.php' );
|
|
require_once( ABSPATH . WPINC . '/class-wp-http-encoding.php' ); |