ring.util.parsing

Regular expressions for parsing HTTP.

For internal use.

find-content-type-charset

added in 1.8.1

(find-content-type-charset s)
Return the charset of a given a content-type string.

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