lib/stash/sword/header_utils.rb in stash-sword-0.1.1 vs lib/stash/sword/header_utils.rb in stash-sword-0.1.2
- old
+ new
@@ -3,11 +3,11 @@
module HeaderUtils
SIMPLE_ZIP = 'http://purl.org/net/sword/package/SimpleZip'.freeze
APPLICATION_ZIP = 'application/zip'.freeze
MULTIPART_RELATED_ATOM_XML = 'multipart/related; type="application/atom+xml"'.freeze
- # CONTENT_DISPOSITION = 'attachment'.freeze
- CONTENT_DISPOSITION = 'form-data'.freeze
+ CONTENT_DISPOSITION = 'attachment'.freeze
+ # CONTENT_DISPOSITION = 'form-data'.freeze
attr_reader :on_behalf_of
def create_request_headers(zipfile, slug)
{