Class: Mechanize::HTTP::ContentDispositionParser Private

Inherits:
Object
  • Object
show all
Defined in:
download_strategy.rbi

This class is part of a private API. This class may only be used in the Homebrew/brew repository. Third parties should avoid using this class if possible, as it may be removed or changed without warning.

Instance Method Summary collapse

Instance Method Details

#parse(content_disposition, header = false) ⇒ Mechanize::HTTP::ContentDisposition?

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Parameters:

  • content_disposition (String)
  • header (Boolean) (defaults to: false)

Returns:



21
# File 'download_strategy.rbi', line 21

def parse(content_disposition, header = false); end