-
Notifications
You must be signed in to change notification settings - Fork 33
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
Sort many photosets with 'flickr.photosets.orderSets' failed #74
Comments
I played a little with request module and read some information. That leads me to a solution that works perfectly for me. With it all the flickr calls in my application are right done, also the 'flickr.photosets.orderSets' with many photosets. All what I changed in your flickrapi was substituting the requests.post() argument 'params' with 'data'. I did this in the file auth.py, line 243:
changed to
This solution eliminates the HTTP 414 “Request URI too long” error. It moves the request data from the query string to the body. I have not much deep insight to estimate if this modification will work well in all situations. It is an approach and currently I got no problems at all. |
Sorry, I saw currently it was already posted as pull request here => #73 |
… failed The problem was that even though we switched to a POST request in 1da6410, the parameters were still passed on the URL instead of in the request body. This caused issues with large numbers/values of parameters.
Fixed in e64c2aa. |
Thank you very much for fixing it! |
I want to sort my photosets. They are about ~420. But I can't do that with the call 'flickr.photosets.orderSets'. I get the following error:
The problem is the request URI is too long. But how can I avoid that anyhow? How else shall I sort my photosets?
The text was updated successfully, but these errors were encountered: