<?php

/**
 * HTTP API: WP_Http class
 *
 * @package WordPress
 * @subpackage HTTP
 * @since 2.7.0
 */
if (!class_exists('Requests')) {
    require ABSPATH . WPINC . '/class-requests.php';
    Requests::register_autoloader();
    Requests::set_certificate_path(ABSPATH . WPINC . '/certificates/ca-bundle.crt');
}
/**
 * Core class used for managing HTTP transports and making HTTP requests.
 *
 * This class is used to consistently make outgoing HTTP requests easy for developers
 * while still being compatible with the many PHP configurations under which
 * WordPress runs.
 *
 * Debugging includes several actions, which pass different variables for debugging the HTTP API.
 *
 * @since 2.7.0
 */
class WP_Http
{
    // Aliases for HTTP response codes.
    const HTTP_CONTINUE = 100;
    const SWITCHING_PROTOCOLS = 101;
    const PROCESSING = 102;