Module: Down::NetHttp::DownloadedFile
- Defined in:
- lib/down/net_http.rb
Instance Method Summary collapse
Instance Method Details
#content_type ⇒ Object
272 273 274 |
# File 'lib/down/net_http.rb', line 272 def content_type super unless ["content-type"].to_s.empty? end |
#original_filename ⇒ Object
268 269 270 |
# File 'lib/down/net_http.rb', line 268 def original_filename filename_from_content_disposition || filename_from_uri end |