File "http-status.php"

Full Path: /home/rrterraplen/public_html/wp-content-20241221212636/plugins/elementor-pro/data/http-status.php
File size: 435 bytes
MIME-type: text/x-php
Charset: utf-8

<?php
namespace ElementorPro\Data;

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly.
}

// TODO: Move to core.
class Http_Status {
	// Successful responses
	const OK = 200;
	const CREATED = 201;
	const NO_CONTENT = 204;

	// Client error responses
	const BAD_REQUEST = 400;
	const UNAUTHORIZED = 401;
	const FORBIDDEN = 403;
	const NOT_FOUND = 404;

	// Server error responses
	const INTERNAL_SERVER_ERROR = 500;
}