Class | Mechanize::HTTP::ContentDispositionParser |
In: |
lib/mechanize/http/content_disposition_parser.rb
|
Parent: | Object |
Parser Content-Disposition headers that loosely follows RFC 2183.
Beyond RFC 2183, this parser allows:
Parses the disposition type and params in the content_disposition string. The "Content-Disposition:" must be removed.
Parses the content_disposition header. If header is set to true the "Content-Disposition:" portion will be parsed
quoted-string = <"> *(qtext/quoted-pair) <"> qtext = <any CHAR excepting <">, "\" & CR, and including linear-white-space quoted-pair = "\" CHAR
Parses an RFC 2045 quoted-string