Nextcloud PHP API (master)

Http
in package

Base class which contains constants for HTTP status codes

Tags
since
6.0.0

Table of Contents

Constants

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
Tags
since
6.0.0

STATUS_ALREADY_REPORTED

public mixed STATUS_ALREADY_REPORTED = 208
Tags
since
6.0.0

STATUS_BAD_GATEWAY

public mixed STATUS_BAD_GATEWAY = 502
Tags
since
6.0.0

STATUS_BAD_REQUEST

public mixed STATUS_BAD_REQUEST = 400
Tags
since
6.0.0

STATUS_BANDWIDTH_LIMIT_EXCEEDED

public mixed STATUS_BANDWIDTH_LIMIT_EXCEEDED = 509
Tags
since
6.0.0

STATUS_CONFLICT

public mixed STATUS_CONFLICT = 409
Tags
since
6.0.0

STATUS_CONTINUE

public mixed STATUS_CONTINUE = 100
Tags
since
6.0.0

STATUS_CREATED

public mixed STATUS_CREATED = 201
Tags
since
6.0.0

STATUS_EXPECTATION_FAILED

public mixed STATUS_EXPECTATION_FAILED = 417
Tags
since
6.0.0

STATUS_FAILED_DEPENDENCY

public mixed STATUS_FAILED_DEPENDENCY = 424
Tags
since
6.0.0

STATUS_FORBIDDEN

public mixed STATUS_FORBIDDEN = 403
Tags
since
6.0.0

STATUS_FOUND

public mixed STATUS_FOUND = 302
Tags
since
6.0.0

STATUS_GATEWAY_TIMEOUT

public mixed STATUS_GATEWAY_TIMEOUT = 504
Tags
since
6.0.0

STATUS_GONE

public mixed STATUS_GONE = 410
Tags
since
6.0.0

STATUS_HTTP_VERSION_NOT_SUPPORTED

public mixed STATUS_HTTP_VERSION_NOT_SUPPORTED = 505
Tags
since
6.0.0

STATUS_IM_A_TEAPOT

public mixed STATUS_IM_A_TEAPOT = 418
Tags
since
6.0.0

STATUS_IM_USED

public mixed STATUS_IM_USED = 226
Tags
since
6.0.0

STATUS_INSUFFICIENT_STORAGE

public mixed STATUS_INSUFFICIENT_STORAGE = 507
Tags
since
6.0.0

STATUS_INTERNAL_SERVER_ERROR

public mixed STATUS_INTERNAL_SERVER_ERROR = 500
Tags
since
6.0.0

STATUS_LENGTH_REQUIRED

public mixed STATUS_LENGTH_REQUIRED = 411
Tags
since
6.0.0

STATUS_LOCKED

public mixed STATUS_LOCKED = 423
Tags
since
6.0.0

STATUS_LOOP_DETECTED

public mixed STATUS_LOOP_DETECTED = 508
Tags
since
6.0.0

STATUS_METHOD_NOT_ALLOWED

public mixed STATUS_METHOD_NOT_ALLOWED = 405
Tags
since
6.0.0

STATUS_MOVED_PERMANENTLY

public mixed STATUS_MOVED_PERMANENTLY = 301
Tags
since
6.0.0

STATUS_MULTI_STATUS

public mixed STATUS_MULTI_STATUS = 207
Tags
since
6.0.0

STATUS_MULTIPLE_CHOICES

public mixed STATUS_MULTIPLE_CHOICES = 300
Tags
since
6.0.0

STATUS_NETWORK_AUTHENTICATION_REQUIRED

public mixed STATUS_NETWORK_AUTHENTICATION_REQUIRED = 511
Tags
since
6.0.0

STATUS_NO_CONTENT

public mixed STATUS_NO_CONTENT = 204
Tags
since
6.0.0

STATUS_NON_AUTHORATIVE_INFORMATION

public mixed STATUS_NON_AUTHORATIVE_INFORMATION = 203
Tags
since
6.0.0

STATUS_NOT_ACCEPTABLE

public mixed STATUS_NOT_ACCEPTABLE = 406
Tags
since
6.0.0

STATUS_NOT_EXTENDED

public mixed STATUS_NOT_EXTENDED = 510
Tags
since
6.0.0

STATUS_NOT_FOUND

public mixed STATUS_NOT_FOUND = 404
Tags
since
6.0.0

STATUS_NOT_IMPLEMENTED

public mixed STATUS_NOT_IMPLEMENTED = 501
Tags
since
6.0.0

STATUS_NOT_MODIFIED

public mixed STATUS_NOT_MODIFIED = 304
Tags
since
6.0.0

STATUS_OK

public mixed STATUS_OK = 200
Tags
since
6.0.0

STATUS_PARTIAL_CONTENT

public mixed STATUS_PARTIAL_CONTENT = 206
Tags
since
6.0.0

STATUS_PAYMENT_REQUIRED

public mixed STATUS_PAYMENT_REQUIRED = 402
Tags
since
6.0.0

STATUS_PRECONDITION_FAILED

public mixed STATUS_PRECONDITION_FAILED = 412
Tags
since
6.0.0

STATUS_PRECONDITION_REQUIRED

public mixed STATUS_PRECONDITION_REQUIRED = 428
Tags
since
6.0.0

STATUS_PROCESSING

public mixed STATUS_PROCESSING = 102
Tags
since
6.0.0

STATUS_PROXY_AUTHENTICATION_REQUIRED

public mixed STATUS_PROXY_AUTHENTICATION_REQUIRED = 407
Tags
since
6.0.0

STATUS_REQUEST_ENTITY_TOO_LARGE

public mixed STATUS_REQUEST_ENTITY_TOO_LARGE = 413
Tags
since
6.0.0

STATUS_REQUEST_HEADER_FIELDS_TOO_LARGE

public mixed STATUS_REQUEST_HEADER_FIELDS_TOO_LARGE = 431
Tags
since
6.0.0

STATUS_REQUEST_RANGE_NOT_SATISFIABLE

public mixed STATUS_REQUEST_RANGE_NOT_SATISFIABLE = 416
Tags
since
6.0.0

STATUS_REQUEST_TIMEOUT

public mixed STATUS_REQUEST_TIMEOUT = 408
Tags
since
6.0.0

STATUS_REQUEST_URI_TOO_LONG

public mixed STATUS_REQUEST_URI_TOO_LONG = 414
Tags
since
6.0.0

STATUS_RESERVED

public mixed STATUS_RESERVED = 306
Tags
since
6.0.0

STATUS_RESET_CONTENT

public mixed STATUS_RESET_CONTENT = 205
Tags
since
6.0.0

STATUS_SEE_OTHER

public mixed STATUS_SEE_OTHER = 303
Tags
since
6.0.0

STATUS_SERVICE_UNAVAILABLE

public mixed STATUS_SERVICE_UNAVAILABLE = 503
Tags
since
6.0.0

STATUS_SWITCHING_PROTOCOLS

public mixed STATUS_SWITCHING_PROTOCOLS = 101
Tags
since
6.0.0

STATUS_TEMPORARY_REDIRECT

public mixed STATUS_TEMPORARY_REDIRECT = 307
Tags
since
6.0.0

STATUS_TOO_MANY_REQUESTS

public mixed STATUS_TOO_MANY_REQUESTS = 429
Tags
since
6.0.0

STATUS_UNAUTHORIZED

public mixed STATUS_UNAUTHORIZED = 401
Tags
since
6.0.0

STATUS_UNPROCESSABLE_ENTITY

public mixed STATUS_UNPROCESSABLE_ENTITY = 422
Tags
since
6.0.0

STATUS_UNSUPPORTED_MEDIA_TYPE

public mixed STATUS_UNSUPPORTED_MEDIA_TYPE = 415
Tags
since
6.0.0

STATUS_UPGRADE_REQUIRED

public mixed STATUS_UPGRADE_REQUIRED = 426
Tags
since
6.0.0

STATUS_USE_PROXY

public mixed STATUS_USE_PROXY = 305
Tags
since
6.0.0

STATUS_VARIANT_ALSO_NEGOTIATES

public mixed STATUS_VARIANT_ALSO_NEGOTIATES = 506
Tags
since
6.0.0

        
On this page

Search results