HTTP API: Add a WP_Http
class constant for the HTTP status code 301
.
Fixes #42490 git-svn-id: https://develop.svn.wordpress.org/trunk@42208 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
d821f8b28d
commit
ff1d2b5ccb
@ -31,6 +31,7 @@ class WP_Http {
|
||||
const HTTP_CONTINUE = 100;
|
||||
const SWITCHING_PROTOCOLS = 101;
|
||||
const PROCESSING = 102;
|
||||
const EARLY_HINTS = 103;
|
||||
|
||||
const OK = 200;
|
||||
const CREATED = 201;
|
||||
|
Loading…
Reference in New Issue
Block a user