-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HEAD got 403 (using boto python library) #567
Comments
and tcpdump of the network communication
|
If I do it without the |
if I replay with
(which i think is normal has the signature contain the http method used?) |
ok after adding console.log everywhere in the code (as HEAD does not give you the body, it's a PITA to debug ^^) I finally found it;s failing in the authentication middleware with a I'm trying to find why , but i'm getting closer using |
there seems to be a bug in the way s3rver calculate signature for HEAD methods
there seems to be a bug in the way s3rver calculate signature for HEAD methods
Hi @allan-simon, thanks for the extensive report, I should be able to have this fixed for the next release. Sorry for the delay. My guess is s3rver is supposed to be signing these requests as |
thanks, it was actually quite fun to debug ^^ |
Resolved by #630. |
When I do this very simple code with version 3.5.0 I got a 403
and I launch the server with
s3rver -a 0.0.0.0 --port 5001 --directory /tmp --configure-bucket "yolaw-develop" /CORS.xml
I got the following log fom the server
I correctly set the env variable to
S3RVER
The text was updated successfully, but these errors were encountered: