-
Notifications
You must be signed in to change notification settings - Fork 50
Adding ability to add default options for request. #92
Comments
sent a PR #91 |
Hm, in this case I'd not make this a two level object, but make that an explicit value in the options, like Using Either way, the PR will probably need a bit of a rewrite to either offer a dedicated value for just this specific use, or to handle the request options object as literally that; an object to pass into request.defaults |
If another day someone wants to add another option to the request.defaults, like |
agreed - if you can update the link to the request.default docs specifically I think we can just merge this in. |
Sometimes the flickr api takes a lot of time to respond with content. While using heroku for deployment, usually heroku times out a request every 30 seconds, so I would like to timeout the request to the flickr api sometime before the 30 second timeout is reached. Presently for
request.get
there is no way to adddefault
parameter to request. It would be great to have one, so that I can configure the requests for the flickrapi as well.The text was updated successfully, but these errors were encountered: