maraujop / requests-oauth

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

Fix to allow header_auth with string data payload #30

Open immunda opened 12 years ago

immunda commented 12 years ago

Changes have caused similar problems to #10 and #12; the base signature is incorrect when passing a string through as the data. Additionally, I'm not sure why auth_header is checked in the workaround, I've attached a fix.

Thanks, Phil.