-
Notifications
You must be signed in to change notification settings - Fork 11
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
Does not work with query style requests #5
Comments
I'm also running into this issue. Did you find a solution? |
Hi @misub, @Firaenix - just to confirm, you want to proxy presigned requests, where the URL looks like this? (Line breaks for clarity):
|
Ahh, on further research it's not necessarily the same issue, all I know is that using the AWS CLI I can list buckets and get files but I can't put. However in the AWS SDK for JavaScript I can't do anything, in the worker logs I noticed that the SDK sets a query parameter to specify that the command is a GET |
Hi @Firaenix - any logs you can post (with redaction as appropriate) would be very useful in figuring out what's going on. |
I deployed this to test if I can use cloudflare workers to proxy my GET requests to B2 using the S3 compatible API, but it looks like it does not work with query string style requests because they don't contain authorization headers. I modified the code a little to make it read the query string instead of the headers but it looks like I still missed something.
I hope an updated version can make it work for query string style S3 compatible API requests.
Thanks
The text was updated successfully, but these errors were encountered: