AnCH Framework 0.2
Another C++ Hack: C++23 utility libraries
Loading...
Searching...
No Matches
anch::rest::header Namespace Reference

Common HTTP header names. More...

Variables

constexpr std::string_view ACCEPT = "Accept"
constexpr std::string_view ACCESS_CONTROL_ALLOW_CREDENTIALS = "Access-Control-Allow-Credentials"
constexpr std::string_view ACCESS_CONTROL_ALLOW_HEADERS = "Access-Control-Allow-Headers"
constexpr std::string_view ACCESS_CONTROL_ALLOW_METHODS = "Access-Control-Allow-Methods"
constexpr std::string_view ACCESS_CONTROL_ALLOW_ORIGIN = "Access-Control-Allow-Origin"
constexpr std::string_view ACCESS_CONTROL_EXPOSE_HEADERS = "Access-Control-Expose-Headers"
constexpr std::string_view ACCESS_CONTROL_MAX_AGE = "Access-Control-Max-Age"
constexpr std::string_view ACCESS_CONTROL_REQUEST_HEADERS = "Access-Control-Request-Headers"
constexpr std::string_view ACCESS_CONTROL_REQUEST_METHOD = "Access-Control-Request-Method"
constexpr std::string_view ALLOW = "Allow"
constexpr std::string_view AUTHORIZATION = "Authorization"
constexpr std::string_view CACHE_CONTROL = "Cache-Control"
constexpr std::string_view CONTENT_DISPOSITION = "Content-Disposition"
constexpr std::string_view CONTENT_LENGTH = "Content-Length"
constexpr std::string_view CONTENT_TYPE = "Content-Type"
constexpr std::string_view ETAG = "ETag"
constexpr std::string_view LOCATION = "Location"
constexpr std::string_view ORIGIN = "Origin"
constexpr std::string_view USER_AGENT = "User-Agent"
constexpr std::string_view VARY = "Vary"
constexpr std::string_view WWW_AUTHENTICATE = "WWW-Authenticate"
constexpr std::string_view X_CORRELATION_ID = "X-Correlation-ID"
constexpr std::string_view X_REQUEST_ID = "X-Request-ID"

Detailed Description

Common HTTP header names.

Variable Documentation

◆ ACCEPT

std::string_view anch::rest::header::ACCEPT = "Accept"
inlineconstexpr

Accept header

◆ ACCESS_CONTROL_ALLOW_CREDENTIALS

std::string_view anch::rest::header::ACCESS_CONTROL_ALLOW_CREDENTIALS = "Access-Control-Allow-Credentials"
inlineconstexpr

Access-Control-Allow-Credentials header (CORS)

◆ ACCESS_CONTROL_ALLOW_HEADERS

std::string_view anch::rest::header::ACCESS_CONTROL_ALLOW_HEADERS = "Access-Control-Allow-Headers"
inlineconstexpr

Access-Control-Allow-Headers header (CORS)

◆ ACCESS_CONTROL_ALLOW_METHODS

std::string_view anch::rest::header::ACCESS_CONTROL_ALLOW_METHODS = "Access-Control-Allow-Methods"
inlineconstexpr

Access-Control-Allow-Methods header (CORS)

◆ ACCESS_CONTROL_ALLOW_ORIGIN

std::string_view anch::rest::header::ACCESS_CONTROL_ALLOW_ORIGIN = "Access-Control-Allow-Origin"
inlineconstexpr

Access-Control-Allow-Origin header (CORS)

◆ ACCESS_CONTROL_EXPOSE_HEADERS

std::string_view anch::rest::header::ACCESS_CONTROL_EXPOSE_HEADERS = "Access-Control-Expose-Headers"
inlineconstexpr

Access-Control-Expose-Headers header (CORS)

◆ ACCESS_CONTROL_MAX_AGE

std::string_view anch::rest::header::ACCESS_CONTROL_MAX_AGE = "Access-Control-Max-Age"
inlineconstexpr

Access-Control-Max-Age header (CORS)

◆ ACCESS_CONTROL_REQUEST_HEADERS

std::string_view anch::rest::header::ACCESS_CONTROL_REQUEST_HEADERS = "Access-Control-Request-Headers"
inlineconstexpr

Access-Control-Request-Headers header (CORS)

◆ ACCESS_CONTROL_REQUEST_METHOD

std::string_view anch::rest::header::ACCESS_CONTROL_REQUEST_METHOD = "Access-Control-Request-Method"
inlineconstexpr

Access-Control-Request-Method header (CORS)

◆ ALLOW

std::string_view anch::rest::header::ALLOW = "Allow"
inlineconstexpr

Allow header

◆ AUTHORIZATION

std::string_view anch::rest::header::AUTHORIZATION = "Authorization"
inlineconstexpr

Authorization header

◆ CACHE_CONTROL

std::string_view anch::rest::header::CACHE_CONTROL = "Cache-Control"
inlineconstexpr

Cache-Control header

◆ CONTENT_DISPOSITION

std::string_view anch::rest::header::CONTENT_DISPOSITION = "Content-Disposition"
inlineconstexpr

Content-Disposition header

◆ CONTENT_LENGTH

std::string_view anch::rest::header::CONTENT_LENGTH = "Content-Length"
inlineconstexpr

Content-Length header

◆ CONTENT_TYPE

std::string_view anch::rest::header::CONTENT_TYPE = "Content-Type"
inlineconstexpr

Content-Type header

◆ ETAG

std::string_view anch::rest::header::ETAG = "ETag"
inlineconstexpr

ETag header

◆ LOCATION

std::string_view anch::rest::header::LOCATION = "Location"
inlineconstexpr

Location header

◆ ORIGIN

std::string_view anch::rest::header::ORIGIN = "Origin"
inlineconstexpr

Origin header

◆ USER_AGENT

std::string_view anch::rest::header::USER_AGENT = "User-Agent"
inlineconstexpr

User-Agent header

◆ VARY

std::string_view anch::rest::header::VARY = "Vary"
inlineconstexpr

Vary header

◆ WWW_AUTHENTICATE

std::string_view anch::rest::header::WWW_AUTHENTICATE = "WWW-Authenticate"
inlineconstexpr

WWW-Authenticate header

◆ X_CORRELATION_ID

std::string_view anch::rest::header::X_CORRELATION_ID = "X-Correlation-ID"
inlineconstexpr

X-Correlation-ID header

◆ X_REQUEST_ID

std::string_view anch::rest::header::X_REQUEST_ID = "X-Request-ID"
inlineconstexpr

X-Request-ID header