Module: Down::NetHttp::DownloadedFile
- Defined in:
- lib/down/net_http.rb
Instance Method Summary collapse
Instance Method Details
#content_type ⇒ Object
251 252 253 |
# File 'lib/down/net_http.rb', line 251 def content_type super unless ["content-type"].to_s.empty? end |
#original_filename ⇒ Object
247 248 249 |
# File 'lib/down/net_http.rb', line 247 def original_filename filename_from_content_disposition || filename_from_uri end |