content lengths specified.
This commit is contained in:
@@ -62,7 +62,8 @@
|
||||
_ (s3/put-object :bucket-name (:data-bucket env)
|
||||
:key s3-location
|
||||
:input-stream (io/input-stream filename)
|
||||
:metadata {:content-type "application/pdf"})
|
||||
:metadata {:content-type "application/pdf"
|
||||
:content-length (.length (io/file filename))})
|
||||
imports (->> (parse/parse-file filename filename)
|
||||
(map #(assoc %
|
||||
:source-url (str "http://" (:data-bucket env)
|
||||
|
||||
Reference in New Issue
Block a user