Module http_status

Module http_status 

Source
Expand description

HTTP status codes used in WebSocket handshake

Constantsยง

BAD_REQUEST
HTTP Bad Request status
FORBIDDEN
HTTP Forbidden status
INTERNAL_SERVER_ERROR
HTTP Internal Server Error status
METHOD_NOT_ALLOWED
HTTP Method Not Allowed status
SERVICE_UNAVAILABLE
HTTP Service Unavailable status
SWITCHING_PROTOCOLS
HTTP Switching Protocols status
UNAUTHORIZED
HTTP Unauthorized status
UPGRADE_REQUIRED
HTTP Upgrade Required status