alaCarte Maps
Renderer for OpenStreetMap tiles
status_strings Namespace Reference

Functions

boost::asio::const_buffer to_buffer (HttpRequest::Reply::StatusType status)
 

Variables

const std::string ok
 
const std::string created
 
const std::string accepted
 
const std::string no_content
 
const std::string multiple_choices
 
const std::string moved_permanently
 
const std::string moved_temporarily
 
const std::string not_modified
 
const std::string bad_request
 
const std::string unauthorized
 
const std::string forbidden
 
const std::string not_found
 
const std::string internal_server_error
 
const std::string not_implemented
 
const std::string bad_gateway
 
const std::string service_unavailable
 

Function Documentation

boost::asio::const_buffer status_strings::to_buffer ( HttpRequest::Reply::StatusType  status)

Definition at line 196 of file http_request.cpp.

Variable Documentation

const std::string status_strings::accepted
Initial value:
=
"HTTP/1.0 202 Accepted\r\n"

Definition at line 167 of file http_request.cpp.

const std::string status_strings::bad_gateway
Initial value:
=
"HTTP/1.0 502 Bad Gateway\r\n"

Definition at line 191 of file http_request.cpp.

const std::string status_strings::bad_request
Initial value:
=
"HTTP/1.0 400 Bad Request\r\n"

Definition at line 179 of file http_request.cpp.

const std::string status_strings::created
Initial value:
=
"HTTP/1.0 201 Created\r\n"

Definition at line 165 of file http_request.cpp.

const std::string status_strings::forbidden
Initial value:
=
"HTTP/1.0 403 Forbidden\r\n"

Definition at line 183 of file http_request.cpp.

const std::string status_strings::internal_server_error
Initial value:
=
"HTTP/1.0 500 Internal Server Error\r\n"

Definition at line 187 of file http_request.cpp.

const std::string status_strings::moved_permanently
Initial value:
=
"HTTP/1.0 301 Moved Permanently\r\n"

Definition at line 173 of file http_request.cpp.

const std::string status_strings::moved_temporarily
Initial value:
=
"HTTP/1.0 302 Moved Temporarily\r\n"

Definition at line 175 of file http_request.cpp.

const std::string status_strings::multiple_choices
Initial value:
=
"HTTP/1.0 300 Multiple Choices\r\n"

Definition at line 171 of file http_request.cpp.

const std::string status_strings::no_content
Initial value:
=
"HTTP/1.0 204 No Content\r\n"

Definition at line 169 of file http_request.cpp.

const std::string status_strings::not_found
Initial value:
=
"HTTP/1.0 404 Not Found\r\n"

Definition at line 185 of file http_request.cpp.

const std::string status_strings::not_implemented
Initial value:
=
"HTTP/1.0 501 Not Implemented\r\n"

Definition at line 189 of file http_request.cpp.

const std::string status_strings::not_modified
Initial value:
=
"HTTP/1.0 304 Not Modified\r\n"

Definition at line 177 of file http_request.cpp.

const std::string status_strings::ok
Initial value:
=
"HTTP/1.0 200 OK\r\n"

Definition at line 163 of file http_request.cpp.

const std::string status_strings::service_unavailable
Initial value:
=
"HTTP/1.0 503 Service Unavailable\r\n"

Definition at line 193 of file http_request.cpp.

const std::string status_strings::unauthorized
Initial value:
=
"HTTP/1.0 401 Unauthorized\r\n"

Definition at line 181 of file http_request.cpp.