Skip to content
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

storage_accounts::list_service_sas failed with 'HTTP Error 411. The request must be chunked or have a content length.' #166

Closed
karataliu opened this issue Feb 1, 2021 · 3 comments · Fixed by #168
Assignees

Comments

@karataliu
Copy link
Contributor

storage_accounts::list_service_sas cannot work after #157

<BODY><h2>Length Required</h2>\r\n<hr><p>HTTP Error 411. The request must be chunked or have a content length.</p>\r\n</BODY>

Seems similar to seanmonstar/reqwest#838

It is now sending an empty body, but doesn't send content-length

let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY);

cc @ctaggart

@ctaggart
Copy link
Contributor

ctaggart commented Feb 5, 2021

Sorry about that @karataliu. I'll have a look.

@karataliu
Copy link
Contributor Author

It's working well now. Thank you.

@ctaggart
Copy link
Contributor

Great to hear! Thanks for letting us know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants