WordPress.org

Make WordPress Core


Ignore:
Timestamp:
02/28/2016 01:45:24 AM (6 years ago)
Author:
johnbillion
Message:

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.

Fixes #36294

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-http.php

    r36416 r36749  
    2222
    2323    // Aliases for HTTP response codes.
     24    const HTTP_CONTINUE                   = 100;
     25    const SWITCHING_PROTOCOLS             = 101;
     26    const PROCESSING                      = 102;
     27
    2428    const OK                              = 200;
    2529    const CREATED                         = 201;
Note: See TracChangeset for help on using the changeset viewer.