tp TouchPointWP Utilities Http - TenthPres/TouchPoint-WP GitHub Wiki

tp\TouchPointWP\Utilities\Http

Utility class for HTTP status codes. Functionally an enum.

  • Class name: Http
  • Namespace: \tp\TouchPointWP\Utilities
  • This is an abstract class

Constants

CONTINUE_

const CONTINUE_ = 100

SWITCHING_PROTOCOLS

const SWITCHING_PROTOCOLS = 101

OK

const OK = 200

CREATED

const CREATED = 201

ACCEPTED

const ACCEPTED = 202

NON_AUTHORITATIVE

const NON_AUTHORITATIVE = 203

NO_CONTENT

const NO_CONTENT = 204

RESET_CONTENT

const RESET_CONTENT = 205

PARTIAL_CONTENT

const PARTIAL_CONTENT = 206

MULTIPLE_CHOICES

const MULTIPLE_CHOICES = 300

MOVED_PERMANENTLY

const MOVED_PERMANENTLY = 301

SEE_OTHER_GET

const SEE_OTHER_GET = 302

NOT_MODIFIED

const NOT_MODIFIED = 303

SEE_OTHER_TEMP

const SEE_OTHER_TEMP = 307

SEE_OTHER

const SEE_OTHER = 308

BAD_REQUEST

const BAD_REQUEST = 400

UNAUTHORIZED

const UNAUTHORIZED = 401

PAYMENT_REQUIRED

const PAYMENT_REQUIRED = 402

FORBIDDEN

const FORBIDDEN = 403

NOT_FOUND

const NOT_FOUND = 404

METHOD_NOT_ALLOWED

const METHOD_NOT_ALLOWED = 405

NOT_ACCEPTABLE

const NOT_ACCEPTABLE = 406

REQUEST_TIMEOUT

const REQUEST_TIMEOUT = 408

CONFLICT

const CONFLICT = 409

GONE

const GONE = 410

LENGTH_REQUIRED

const LENGTH_REQUIRED = 411

PRECONDITION_FAILED

const PRECONDITION_FAILED = 412

REQUEST_ENTITY_TOO_LARGE

const REQUEST_ENTITY_TOO_LARGE = 413

REQUEST_URI_TOO_LONG

const REQUEST_URI_TOO_LONG = 414

UNSUPPORTED_MEDIA_TYPE

const UNSUPPORTED_MEDIA_TYPE = 415

REQUESTED_RANGE_NOT_SATISFIABLE

const REQUESTED_RANGE_NOT_SATISFIABLE = 416

EXPECTATION_FAILED

const EXPECTATION_FAILED = 417

IM_A_TEAPOT

const IM_A_TEAPOT = 418

UPGRADE_REQUIRED

const UPGRADE_REQUIRED = 426

SERVER_ERROR

const SERVER_ERROR = 500

NOT_IMPLEMENTED

const NOT_IMPLEMENTED = 501

SERVICE_UNAVAILABLE

const SERVICE_UNAVAILABLE = 503

VERSION_NOT_SUPPORTED

const VERSION_NOT_SUPPORTED = 505