akiradeveloper / akashic-storage

Filey system backed S3-compatible storage in Scala/Akka-Http
Apache License 2.0
22 stars 2 forks source link

transparent-head-requests is on in the daemon-test #69

Closed akiradeveloper closed 8 years ago

akiradeveloper commented 8 years ago

Ok. I realize why mc fails in daemon-test.

In sbt-test, the flag is off "transparent-head-requests":"off" but in daemon-test, the flag is on (remains the default) "transparent-head-requests":"on". This is the reason why GET Object in daemon-test fails due to 403.

In daemon-test, mc issues HEAD object but in akka-http it's recorded as GET object. akka-http rewrites the method leads to the problem.

This should be fixed before v1.0-rc (too critical)

sbt-test(off): https://s3.amazonaws.com/archive.travis-ci.org/jobs/117875115/log.txt daemon-test(on): https://s3.amazonaws.com/archive.travis-ci.org/jobs/117875117/log.txt

akiradeveloper commented 8 years ago

fixed by https://github.com/akiradeveloper/akashic-storage/commit/838f0a7f99ab73d7ff22c5e66f25b26586d43358

lucky