HTTP Status Codes
The http_status_codes_objects.cfg file lists the HTTP status codes (response codes) as of the HTTP 1.1 standard.
/////////////////////////////////////////////////////////////////////////////// // // http_status_codes_objects.cfg // // HTTP status codes (response codes) based on the HTTP 1.1 standard // /////////////////////////////////////////////////////////////////////////////// HTTPStatusCodes 100 HTTP_CONTINUE 101 HTTP_SWITCHING_PROTOCOLS 102 HTTP_PROCESSING 200 HTTP_OK 201 HTTP_CREATED 202 HTTP_ACCEPTED 203 HTTP_NON_AUTHORITATIVE 204 HTTP_NO_CONTENT 205 HTTP_RESET_CONTENT 206 HTTP_PARTIAL_CONTENT 207 HTTP_MULTI_STATUS 300 HTTP_MULTIPLE_CHOICES 301 HTTP_MOVED_PERMANENTLY 302 HTTP_MOVED_TEMPORARILY 303 HTTP_SEE_OTHER 304 HTTP_NOT_MODIFIED 305 HTTP_USE_PROXY 307 HTTP_TEMPORARY_REDIRECT 400 HTTP_BAD_REQUEST 401 HTTP_UNAUTHORIZED 402 HTTP_PAYMENT_REQUIRED 403 HTTP_FORBIDDEN 404 HTTP_NOT_FOUND 405 HTTP_METHOD_NOT_ALLOWED 406 HTTP_NOT_ACCEPTABLE 407 HTTP_PROXY_AUTHENTICATION_REQUIRED 408 HTTP_REQUEST_TIME_OUT 409 HTTP_CONFLICT 410 HTTP_GONE 411 HTTP_LENGTH_REQUIRED 412 HTTP_PRECONDITION_FAILED 413 HTTP_REQUEST_ENTITY_TOO_LARGE 414 HTTP_REQUEST_URI_TOO_LARGE 415 HTTP_UNSUPPORTED_MEDIA_TYPE 416 HTTP_RANGE_NOT_SATISFIABLE 417 HTTP_EXPECTATION_FAILED 422 HTTP_UNPROCESSABLE_ENTITY 423 HTTP_LOCKED 424 HTTP_FAILED_DEPENDENCY 426 HTTP_UPGRADE_REQUIRED 500 HTTP_INTERNAL_SERVER_ERROR 501 HTTP_NOT_IMPLEMENTED 502 HTTP_BAD_GATEWAY 503 HTTP_SERVICE_UNAVAILABLE 504 HTTP_GATEWAY_TIME_OUT 505 HTTP_VERSION_NOT_SUPPORTED 506 HTTP_VARIANT_ALSO_VARIES 507 HTTP_INSUFFICIENT_STORAGE 510 HTTP_NOT_EXTENDED ///////////////////////////////////////////////////////////////////////////////
We would install this PIKT objects file using the command:
piktc -iv +O HTTPStatusCodes +H piktmonsys
resulting in the file HTTPStatusCodes.obj, installed in the usual PIKT =objdir directory.
HTTPStatusCodes.obj is used by CheckBrokenLinksExternal and other Pikt scripts.
For more examples, see Samples.