-
Notifications
You must be signed in to change notification settings - Fork 25
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
status code : 411 #3
Comments
Thanks for the feedback @denisov I'll check this out asap |
Still investigating but related to this: golang/go#14391 |
Thanks for letting me know |
I don't like the fix for this bug but I wasn't able to understand why Flickr fails when we use the h2 client along with a chunked POST request. |
Hi
UploadFile doesn't work for me.
resp, err := flickr.UploadFile(client, "/home/andrey/cat.jpg", nil)
It return the html page with error
http_client
setsTransfer-Encoding: chunked
header but doesn't setContent-Lenght
header. I guess that's the reason.I am on Xubuntu 16.04
There is another flickr library https://github.com/mncaudill/go-flickr/ It calculate length manualy https://github.com/mncaudill/go-flickr/blob/master/flickr.go#L164
The text was updated successfully, but these errors were encountered: