Urdl C++ Library

PrevUpHomeNext

http::errc::errc_t

HTTP error codes.

enum errc_t

Values

malformed_status_line

The response's status line was malformed.

malformed_response_headers

The response's headers were malformed.

continue_request

The server-generated status code "100 Continue".

switching_protocols

The server-generated status code "101 Switching Protocols".

ok

The server-generated status code "200 OK".

created

The server-generated status code "201 Created".

accepted

The server-generated status code "202 Accepted".

non_authoritative_information

The server-generated status code "203 Non-Authoritative Information".

no_content

The server-generated status code "204 No Content".

reset_content

The server-generated status code "205 Reset Content".

partial_content

The server-generated status code "206 Partial Content".

multiple_choices

The server-generated status code "300 Multiple Choices".

moved_permanently

The server-generated status code "301 Moved Permanently".

found

The server-generated status code "302 Found".

see_other

The server-generated status code "303 See Other".

not_modified

The server-generated status code "304 Not Modified".

use_proxy

The server-generated status code "305 Use Proxy".

temporary_redirect

The server-generated status code "307 Temporary Redirect".

bad_request

The server-generated status code "400 Bad Request".

unauthorized

The server-generated status code "401 Unauthorized".

payment_required

The server-generated status code "402 Payment Required".

forbidden

The server-generated status code "403 Forbidden".

not_found

The server-generated status code "404 Not Found".

method_not_allowed

The server-generated status code "405 Method Not Allowed".

not_acceptable

The server-generated status code "406 Not Acceptable".

proxy_authentication_required

The server-generated status code "407 Proxy Authentication Required".

request_timeout

The server-generated status code "408 Request Time-out".

conflict

The server-generated status code "409 Conflict".

gone

The server-generated status code "410 Gone".

length_required

The server-generated status code "411 Length Required".

precondition_failed

The server-generated status code "412 Precondition Failed".

request_entity_too_large

The server-generated status code "413 Request Entity Too Large".

request_uri_too_large

The server-generated status code "414 Request URI Too Large".

unsupported_media_type

The server-generated status code "415 Unsupported Media Type".

requested_range_not_satisfiable

The server-generated status code "416 Requested Range Not Satisfiable".

expectation_failed

The server-generated status code "417 Expectation Failed".

internal_server_error

The server-generated status code "500 Internal Server Error".

not_implemented

The server-generated status code "501 Not Implemented".

bad_gateway

The server-generated status code "502 Bad Gateway".

service_unavailable

The server-generated status code "503 Service Unavailable".

gateway_timeout

The server-generated status code "504 Gateway Timeout".

version_not_supported

The server-generated status code "505 HTTP Version Not Supported".

The enumerators of type errc_t are implicitly convertible to objects of type boost::system::error_code.

Requirements

Header: <urdl/http.hpp>

Namespace: urdl::http


PrevUpHomeNext