AcceptEncoding
class AcceptEncoding(val acceptEncoding: String, val parameters: List<HeaderValueParam> = emptyList()) : HeaderValueWithParameters
Represents the Accept-Encoding
HTTP header, which specifies the content encoding the client is willing to accept.
Parameters
parameters
Optional list of parameters associated with the encoding, such as quality values (q-values).
Constructors
Types
Properties
Functions
Link copied to clipboard
Extracts a Charset value from the given Content-Type
, Content-Disposition
or similar header value.
Link copied to clipboard
Checks if this
AcceptEncoding
matches a pattern AcceptEncoding
, taking into account wildcard symbols *
and parameters such as q-values.
Link copied to clipboard
Returns a new AcceptEncoding
instance with the specified q-value parameter.