-
Notifications
You must be signed in to change notification settings - Fork 592
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
ListBucketsCommand: Request with GET/HEAD method cannot have body #1633
Comments
fixes: aws/aws-sdk-js-v3#1633 This change doesn't affect RPC protocols because they use POST all the time
fixes: aws/aws-sdk-js-v3#1633 This change doesn't affect RPC protocols because they use POST all the time
fixes: aws/aws-sdk-js-v3#1633 This change doesn't affect RPC protocols because they use POST all the time
Hi @jzillmann, I've post a PR removing empty string body fromt he GET/HEAD request. For your information, |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread. |
Describe the bug
Inside a browser app (inside an electron app as well), i tried:
The error i'm getting is as follow:
When debugging
fetch-http-handler.js:41
i can see the requestOptions object hasbody: ""
set.Changing
""
toundefined
solves the problem.SDK version number
@aws-sdk/client-s3 1.0.0-rc.2
Is the issue in the browser/Node.js/ReactNative?
Browser/Node.js (Electron)
Details of the browser/Node.js/ReactNative version
To Reproduce (observed behavior)
not yet
Expected behavior
Executing commands like
ListBucketsCommand
should set the body.Screenshots
not yet
Additional context
nothing
The text was updated successfully, but these errors were encountered: