12 static constexpr auto ACCEPT =
"accept";
13 static constexpr auto ALLOW =
"allow";
14 static constexpr auto AUTHORIZATION =
"authorization";
15 static constexpr auto CACHE_CONTROL =
"cache-control";
16 static constexpr auto CONTENT_LENGTH =
"content-length";
17 static constexpr auto CONTENT_RANGE =
"content-range";
18 static constexpr auto CONTENT_TYPE =
"content-type";
19 static constexpr auto DATE =
"date";
20 static constexpr auto DIGEST =
"digest";
21 static constexpr auto HOST =
"host";
22 static constexpr auto LOCATION =
"location";
23 static constexpr auto RETRY_AFTER =
"retry-after";
24 static constexpr auto TRAILER =
"trailer";
25 static constexpr auto WWW_AUTHENTICATE =
"www-authenticate";
27 static constexpr auto CCF_TX_ID =
"x-ms-ccf-transaction-id";
28 static constexpr auto CCF_SNAPSHOT_NAME =
"x-ms-ccf-snapshot-name";
31 namespace headervalues::contenttype
33 static constexpr auto JSON =
"application/json";
34 static constexpr auto TEXT =
"text/plain";
35 static constexpr auto OCTET_STREAM =
"application/octet-stream";
36 static constexpr auto COSE =
"application/cose";
37 static constexpr auto JAVASCRIPT =
"text/javascript";
38 static constexpr auto CBOR =
"application/cbor";
43 static constexpr auto DIGEST_SHA256 =
"SHA-256";
45 static constexpr auto SIGN_AUTH_SCHEME =
"Signature";
46 static constexpr auto SIGN_PARAMS_KEYID =
"keyId";
47 static constexpr auto SIGN_PARAMS_SIGNATURE =
"signature";
48 static constexpr auto SIGN_PARAMS_ALGORITHM =
"algorithm";
49 static constexpr auto SIGN_PARAMS_HEADERS =
"headers";
50 static constexpr auto SIGN_ALGORITHM_ECDSA_SHA256 =
"ecdsa-sha256";
51 static constexpr auto SIGN_ALGORITHM_HS_2019 =
"hs2019";
53 static constexpr auto SIGN_HEADER_REQUEST_TARGET =
"(request-target)";
55 static constexpr auto SIGN_PARAMS_DELIMITER =
",";
56 static constexpr auto SIGN_PARAMS_HEADERS_DELIMITER =
" ";
58 static constexpr auto BEARER_AUTH_SCHEME =
"Bearer";
61 static constexpr char const* required_signature_headers[] = {
62 auth::SIGN_HEADER_REQUEST_TARGET, ccf::http::headers::DIGEST};
65 namespace http2::headers
67 static constexpr auto PATH =
":path";
68 static constexpr auto STATUS =
":status";
69 static constexpr auto METHOD =
":method";
Definition app_interface.h:14
Definition error_reporter.h:6