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