ring.util.parsing

Regular expressions for parsing HTTP.

For internal use.

re-charset

added in 1.6

Pattern for pulling the charset out of the content-type header

re-quoted

added in 1.3

HTTP quoted-string: <"> *<any TEXT except "> <">. See RFC2068.

re-token

added in 1.3

HTTP token: 1*<any CHAR except CTLs or tspecials>. See RFC2068

re-value

added in 1.3

HTTP value: token | quoted-string. See RFC2109