-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
fix requester bug #727
fix requester bug #727
Conversation
…ethods It wasn't working on PUT and POST before.
Just wanted to say, requests's https://github.com/nodejitsu/defaultable |
I read the update and the relevant parts of the code, and it looks good. I'm confident that it doesn't break anything. |
Here is a gist with the way I was using it when I noticed the bug: https://gist.github.com/jchris/7801297 On Wed, Dec 4, 2013 at 11:30 PM, Ben Atkin (I accept patches by email.) <
Chris Anderson |
was _requester already supported? if it's _ then it's private, and if we're opening it up for public use we should remove the _. |
It is supported as a the second argument to the defaults function, with the On Thu, Dec 5, 2013 at 8:17 AM, Mikeal Rogers [email protected]:
Chris Anderson |
we'll want to revisit this use case for 3.0, i think there's a better way to enable this. until then, let's hold off on documenting it. |
fix requester bug
the ability to wrap the callback wasn't available for verbs aside from GET and DELETE, so I made it work for all verbs