The Accept header string.
Determines if invalid values throw errors (true
) or log warnings (false
). Defaults to false
.
An array of Accept objects, sorted by weight. Accept parts with invalid syntax are ignored and removed from the returned array.
Parses an Accept header string.