Method: Mechanize::HTTP::ContentDispositionParser#rfc_2045_value
- Defined in:
- lib/mechanize/http/content_disposition_parser.rb
#rfc_2045_value ⇒ Object
value := token / quoted-string
Parses an RFC 2045 value
185 186 187 188 189 190 191 |
# File 'lib/mechanize/http/content_disposition_parser.rb', line 185 def rfc_2045_value if @scanner.peek(1) == '"' then rfc_2045_quoted_string else rfc_2045_token end end |