Skip to content

Shelly devices send: 'Content-Length' = "0" which is being rejected by server #1616

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

Closed
JohnVillalovos opened this issue Apr 6, 2025 · 0 comments · Fixed by #1617
Closed

Comments

@JohnVillalovos
Copy link
Contributor

When using a Shelly Plus Plug it will send a header of 'Content-Length' = "0". The current code will raise a ValueError when that happens as it thinks that indicates a request body. But since the length is zero there is no request body.

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.

1 participant