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

Request must specify a Content-Length when using upload_and_send_image() #176

Open
DanceMore opened this issue Oct 11, 2021 · 0 comments
Open

Comments

@DanceMore
Copy link

I searched Github for some more example modules and I installed this one => https://raw.githubusercontent.com/das-labor/vlab_bot/0665102be8d7e660bcfaea23a26629bbf87af9ae/hemppa_modules/cat.py

I get the following errors tho:

Sorry. Something went wrong fetching https://cataas.com/cat/5e2b4b644348da001c78fb83 and uploading the image to matrix server :(
ERROR - hemppa - unable to upload file. msg: Request must specify a Content-Length
ERROR - hemppa - unable to upload file. msg: Request must specify a Content-Length

I read thru the code for upload_and_send_image() but it looked correct to me...

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

No branches or pull requests

1 participant