lib/angelo.rb in angelo-0.1.13 vs lib/angelo.rb in angelo-0.1.14
- old
+ new
@@ -19,10 +19,10 @@
STATICABLE = [:get, :head]
CONTENT_TYPE_HEADER_KEY = 'Content-Type'
CONTENT_DISPOSITION_HEADER_KEY = 'Content-Disposition'
CONTENT_LENGTH_HEADER_KEY = 'Content-Length'
- DEFAULT_CONTENT_DISPOSITION = 'attachment'
+ ATTACHMENT_CONTENT_DISPOSITION = 'attachment; filename="%s"'
ETAG_HEADER_KEY = 'ETag'
IF_NONE_MATCH_HEADER_KEY = 'If-None-Match'
LOCATION_HEADER_KEY = 'Location'
HTML_TYPE = 'text/html'