Parser for a single conneg value.
Parser for a single conneg value.
Parser for a list of conneg values.
Parser for a list of conneg values.
Parser for the underlying type.
Parser for the underlying type.
Formats the content-negotiation q
parameter.
Formats the content-negotiation q
parameter.
Parser for the content-negotiation q
parameter.
Parser for the content-negotiation q
parameter.
Extract an instance of T
from the specified value.
Extract an instance of T
from the specified value.
(Changed in version 2.9.0) The p0
call-by-name arguments is evaluated at most once per constructed Parser object, instead of on every need that arises during parsing.
Writes the specified T
to a String
.
Writes the specified T
to a String
. A return value of None
means that the specified value serialises to
nothing (the empty string, Nil
, ...).
Implicit format for the
Accept-Charset
content negotiation header.