Inconsistent SignatureDoesNotMatch Amazon S3 with django-pipeline, s3boto and storages

前端 未结 5 1220
萌比男神i
萌比男神i 2020-12-10 09:08

I have 2 files compiled by django-pipeline along with s3boto: master.css and master.js. They are set to \"Public\" in my buckets. However, when I access them, sometimes mast

5条回答
  •  难免孤独
    2020-12-10 09:56

    I had a similar issue causing SignatureDoesNotMatch errors when downloading files using an S3 signed URL and the python requests HTTP library.

    My problem ended up being a bad content-type. The documentation at AWS on Authenticating REST Requests helped me figure it out, and has examples in Python.

提交回复
热议问题