maraujop / requests-oauth

Python's Requests OAuth (Open Authentication) plugin
BSD 3-Clause "New" or "Revised" License
188 stars 33 forks source link

Modified the OAuthHook's __call__ method to treat GET and DELETE methods #2

Closed ctoth closed 13 years ago

ctoth commented 13 years ago

Modified the OAuthHook's call method to treat GET and DELETE methods the same. Previously the hook completely ignored DELETE requests. This change now works with the Twitter API destroy lists method DELETE //lists/.

maraujop commented 13 years ago

I understand,

Thanks for submitting the patch.

Could you please add a little test. It should be a piece of cake if you look at tests.py

If you don't have the time, don't worry, I will do it next week.

Cheers, Miguel

maraujop commented 13 years ago

Thanks Christopher,

I finally found the time to check it and integrate it. I have bumped the library to version 0.1.2 and uploaded the new version to PyPi. I've also added you to contributors.

Cheers Miguel