vibe.http.status

List of all standard HTTP status codes.

Members

Enums

HTTPStatus
enum HTTPStatus

Definitions of all standard HTTP status codes.

Functions

httpStatusText
string httpStatusText(int code)

Returns a standard text description of the specified HTTP status code.

isSuccessCode
bool isSuccessCode(HTTPStatus status)

Determines if status code is generally successful (>= 200 && < 300)

justifiesConnectionClose
bool justifiesConnectionClose(int status)

Determines if the given status code justifies closing the connection (e.g. evil big request bodies)

Meta

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.

Authors

Jan Krüger