Nextcloud PHP API (stable19)

Http

Base class which contains constants for HTTP status codes

Tags
since
6.0.0

Table of Contents

STATUS_ACCEPTED  = 202
STATUS_ALREADY_REPORTED  = 208
STATUS_BAD_GATEWAY  = 502
STATUS_BAD_REQUEST  = 400
STATUS_BANDWIDTH_LIMIT_EXCEEDED  = 509
STATUS_CONFLICT  = 409
STATUS_CONTINUE  = 100
STATUS_CREATED  = 201
STATUS_EXPECTATION_FAILED  = 417
STATUS_FAILED_DEPENDENCY  = 424
STATUS_FORBIDDEN  = 403
STATUS_FOUND  = 302
STATUS_GATEWAY_TIMEOUT  = 504
STATUS_GONE  = 410
STATUS_HTTP_VERSION_NOT_SUPPORTED  = 505
STATUS_IM_A_TEAPOT  = 418
STATUS_IM_USED  = 226
STATUS_INSUFFICIENT_STORAGE  = 507
STATUS_INTERNAL_SERVER_ERROR  = 500
STATUS_LENGTH_REQUIRED  = 411
STATUS_LOCKED  = 423
STATUS_LOOP_DETECTED  = 508
STATUS_METHOD_NOT_ALLOWED  = 405
STATUS_MOVED_PERMANENTLY  = 301
STATUS_MULTI_STATUS  = 207
STATUS_MULTIPLE_CHOICES  = 300
STATUS_NETWORK_AUTHENTICATION_REQUIRED  = 511
STATUS_NO_CONTENT  = 204
STATUS_NON_AUTHORATIVE_INFORMATION  = 203
STATUS_NOT_ACCEPTABLE  = 406
STATUS_NOT_EXTENDED  = 510
STATUS_NOT_FOUND  = 404
STATUS_NOT_IMPLEMENTED  = 501
STATUS_NOT_MODIFIED  = 304
STATUS_OK  = 200
STATUS_PARTIAL_CONTENT  = 206
STATUS_PAYMENT_REQUIRED  = 402
STATUS_PRECONDITION_FAILED  = 412
STATUS_PRECONDITION_REQUIRED  = 428
STATUS_PROCESSING  = 102
STATUS_PROXY_AUTHENTICATION_REQUIRED  = 407
STATUS_REQUEST_ENTITY_TOO_LARGE  = 413
STATUS_REQUEST_HEADER_FIELDS_TOO_LARGE  = 431
STATUS_REQUEST_RANGE_NOT_SATISFIABLE  = 416
STATUS_REQUEST_TIMEOUT  = 408
STATUS_REQUEST_URI_TOO_LONG  = 414
STATUS_RESERVED  = 306
STATUS_RESET_CONTENT  = 205
STATUS_SEE_OTHER  = 303
STATUS_SERVICE_UNAVAILABLE  = 503
STATUS_SWITCHING_PROTOCOLS  = 101
STATUS_TEMPORARY_REDIRECT  = 307
STATUS_TOO_MANY_REQUESTS  = 429
STATUS_UNAUTHORIZED  = 401
STATUS_UNPROCESSABLE_ENTITY  = 422
STATUS_UNSUPPORTED_MEDIA_TYPE  = 415
STATUS_UPGRADE_REQUIRED  = 426
STATUS_USE_PROXY  = 305
STATUS_VARIANT_ALSO_NEGOTIATES  = 506

Constants

STATUS_ACCEPTED

public mixed STATUS_ACCEPTED = 202

STATUS_ALREADY_REPORTED

public mixed STATUS_ALREADY_REPORTED = 208

STATUS_BAD_GATEWAY

public mixed STATUS_BAD_GATEWAY = 502

STATUS_BAD_REQUEST

public mixed STATUS_BAD_REQUEST = 400

STATUS_BANDWIDTH_LIMIT_EXCEEDED

public mixed STATUS_BANDWIDTH_LIMIT_EXCEEDED = 509

STATUS_CONFLICT

public mixed STATUS_CONFLICT = 409

STATUS_CONTINUE

public mixed STATUS_CONTINUE = 100

STATUS_CREATED

public mixed STATUS_CREATED = 201

STATUS_EXPECTATION_FAILED

public mixed STATUS_EXPECTATION_FAILED = 417

STATUS_FAILED_DEPENDENCY

public mixed STATUS_FAILED_DEPENDENCY = 424

STATUS_FORBIDDEN

public mixed STATUS_FORBIDDEN = 403

STATUS_FOUND

public mixed STATUS_FOUND = 302

STATUS_GATEWAY_TIMEOUT

public mixed STATUS_GATEWAY_TIMEOUT = 504

STATUS_GONE

public mixed STATUS_GONE = 410

STATUS_HTTP_VERSION_NOT_SUPPORTED

public mixed STATUS_HTTP_VERSION_NOT_SUPPORTED = 505

STATUS_IM_A_TEAPOT

public mixed STATUS_IM_A_TEAPOT = 418

STATUS_IM_USED

public mixed STATUS_IM_USED = 226

STATUS_INSUFFICIENT_STORAGE

public mixed STATUS_INSUFFICIENT_STORAGE = 507

STATUS_INTERNAL_SERVER_ERROR

public mixed STATUS_INTERNAL_SERVER_ERROR = 500

STATUS_LENGTH_REQUIRED

public mixed STATUS_LENGTH_REQUIRED = 411

STATUS_LOCKED

public mixed STATUS_LOCKED = 423

STATUS_LOOP_DETECTED

public mixed STATUS_LOOP_DETECTED = 508

STATUS_METHOD_NOT_ALLOWED

public mixed STATUS_METHOD_NOT_ALLOWED = 405

STATUS_MOVED_PERMANENTLY

public mixed STATUS_MOVED_PERMANENTLY = 301

STATUS_MULTI_STATUS

public mixed STATUS_MULTI_STATUS = 207

STATUS_MULTIPLE_CHOICES

public mixed STATUS_MULTIPLE_CHOICES = 300

STATUS_NETWORK_AUTHENTICATION_REQUIRED

public mixed STATUS_NETWORK_AUTHENTICATION_REQUIRED = 511

STATUS_NO_CONTENT

public mixed STATUS_NO_CONTENT = 204

STATUS_NON_AUTHORATIVE_INFORMATION

public mixed STATUS_NON_AUTHORATIVE_INFORMATION = 203

STATUS_NOT_ACCEPTABLE

public mixed STATUS_NOT_ACCEPTABLE = 406

STATUS_NOT_EXTENDED

public mixed STATUS_NOT_EXTENDED = 510

STATUS_NOT_FOUND

public mixed STATUS_NOT_FOUND = 404

STATUS_NOT_IMPLEMENTED

public mixed STATUS_NOT_IMPLEMENTED = 501

STATUS_NOT_MODIFIED

public mixed STATUS_NOT_MODIFIED = 304

STATUS_OK

public mixed STATUS_OK = 200

STATUS_PARTIAL_CONTENT

public mixed STATUS_PARTIAL_CONTENT = 206

STATUS_PAYMENT_REQUIRED

public mixed STATUS_PAYMENT_REQUIRED = 402

STATUS_PRECONDITION_FAILED

public mixed STATUS_PRECONDITION_FAILED = 412

STATUS_PRECONDITION_REQUIRED

public mixed STATUS_PRECONDITION_REQUIRED = 428

STATUS_PROCESSING

public mixed STATUS_PROCESSING = 102

STATUS_PROXY_AUTHENTICATION_REQUIRED

public mixed STATUS_PROXY_AUTHENTICATION_REQUIRED = 407

STATUS_REQUEST_ENTITY_TOO_LARGE

public mixed STATUS_REQUEST_ENTITY_TOO_LARGE = 413

STATUS_REQUEST_HEADER_FIELDS_TOO_LARGE

public mixed STATUS_REQUEST_HEADER_FIELDS_TOO_LARGE = 431

STATUS_REQUEST_RANGE_NOT_SATISFIABLE

public mixed STATUS_REQUEST_RANGE_NOT_SATISFIABLE = 416

STATUS_REQUEST_TIMEOUT

public mixed STATUS_REQUEST_TIMEOUT = 408

STATUS_REQUEST_URI_TOO_LONG

public mixed STATUS_REQUEST_URI_TOO_LONG = 414

STATUS_RESERVED

public mixed STATUS_RESERVED = 306

STATUS_RESET_CONTENT

public mixed STATUS_RESET_CONTENT = 205

STATUS_SEE_OTHER

public mixed STATUS_SEE_OTHER = 303

STATUS_SERVICE_UNAVAILABLE

public mixed STATUS_SERVICE_UNAVAILABLE = 503

STATUS_SWITCHING_PROTOCOLS

public mixed STATUS_SWITCHING_PROTOCOLS = 101

STATUS_TEMPORARY_REDIRECT

public mixed STATUS_TEMPORARY_REDIRECT = 307

STATUS_TOO_MANY_REQUESTS

public mixed STATUS_TOO_MANY_REQUESTS = 429

STATUS_UNAUTHORIZED

public mixed STATUS_UNAUTHORIZED = 401

STATUS_UNPROCESSABLE_ENTITY

public mixed STATUS_UNPROCESSABLE_ENTITY = 422

STATUS_UNSUPPORTED_MEDIA_TYPE

public mixed STATUS_UNSUPPORTED_MEDIA_TYPE = 415

STATUS_UPGRADE_REQUIRED

public mixed STATUS_UPGRADE_REQUIRED = 426

STATUS_USE_PROXY

public mixed STATUS_USE_PROXY = 305

STATUS_VARIANT_ALSO_NEGOTIATES

public mixed STATUS_VARIANT_ALSO_NEGOTIATES = 506

Search results