Make WordPress Core


Ignore:
Timestamp:
04/07/2024 11:16:06 AM (11 months ago)
Author:
SergeyBiryukov
Message:

HTTP API: Add support for a description for HTTP status code 425 (Too Early).

Reference: RFC 8470: Using Early Data in HTTP.

Follow-up to [5446], [6104], [10740], [27422], [36274], [36294], [42207].

Props kkmuffme, mukesh27, joemcgill.
Fixes #60942.

File:
1 edited

Legend:

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

    r57644 r57936  
    7878    const LOCKED                          = 423;
    7979    const FAILED_DEPENDENCY               = 424;
     80    const TOO_EARLY                       = 425;
    8081    const UPGRADE_REQUIRED                = 426;
    8182    const PRECONDITION_REQUIRED           = 428;
Note: See TracChangeset for help on using the changeset viewer.