![]() |
boost::taar::accept_encoding_quality — The quality an Accept-Encoding field value gives coding (RFC 9110 12.5.3).
// In header: <boost/taar/core/accept_encoding.hpp> std::optional< double > accept_encoding_quality(std::string_view field, std::string_view coding);
Codings compare case-insensitively; x-gzip is an alias of gzip. An explicit entry for coding wins over *. Elements with a malformed q are skipped. The caller decides what an absent field means.
Parameters: |
|
||||
Returns: |
The q-value in |