2
3
6
7
8
9
10
14#include <restinio/helpers/http_field_parsers/basics.hpp>
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
54
55
56
57
63 maybe_empty_comma_separated_list_p< item_container_t >(
65 token_p() >> to_lower() >> &item_t::content_coding,
66 maybe( weight_p() >> &item_t::weight )
68 ) >> &accept_encoding_value_t::codings
73
74
75
76
A class for holding the parsed value of qvalue from RFC7231.
constexpr qvalue_t(qvalue_details::extremum_max_t) noexcept
static constexpr qvalue_details::extremum_max_t maximum
The indicator that tells that new qvalue object should have the maximal allowed value.
std::string content_coding
Tools for working with the value of Accept-Encoding HTTP-field.
static auto make_parser()
A factory function for a parser of Accept-Encoding value.
static expected_t< accept_encoding_value_t, restinio::easy_parser::parse_error_t > try_parse(string_view_t what)
An attempt to parse Accept-Encoding HTTP-field.