summaryrefslogtreecommitdiff
path: root/oauthlib/common.py
Commit message (Collapse)AuthorAgeFilesLines
* Continuing to refactor oauth1 to use Request objects internally.use_request_objectsDavid Gouldin2012-05-121-2/+5
|
* More porting of internal metods to use Request objects. Some tests are still ↵David Gouldin2012-05-011-1/+7
| | | | broken.
* Half implemented solution which passes around Request instances to ↵David Gouldin2012-05-011-0/+7
| | | | parameters instead of raw headers/body/params
* Decode query to unicode in urldecodeIdan Gazit2012-05-011-0/+1
| | | | For completeness' sake.
* Remove dead codeIdan Gazit2012-05-011-5/+0
|
* Fix unicode leaksIdan Gazit2012-05-011-45/+36
| | | | | | Wrap stdlib quote, unquote, urlencode in versions that protect the internal usage of unicode. All data going out is encoded as UTF-8, and the results are read back in and decoded from UTF-8.
* Add unicode_params methodIdan Gazit2012-05-011-1/+15
|
* Refactor utility methods, improve robustness of OAuth1 Client.signIdan Gazit2012-05-011-27/+91
| | | | | | | | | * Move quote, unquote, urldecode to oauthlib.common * Use urldecode for extract_params * Simplify request logic: store body and decoded_body instead of body_has_params * Document steps in Client.sign * Properly validate requests in Client.sign
* Prevent degenerate extraction of non-formencoded stringsIdan Gazit2012-04-241-0/+6
|
* Disable strict parsing when extracting parameters.Idan Gazit2012-04-231-1/+4
| | | | | | | Strict parsing chokes on strings where keys don't always have values. The problem is that disabling strict parsing means "foo bar baz" doesn't raise valueerror, it simply ends up as a sole parameter with no value, defeating checks for non-formencoded bodies.
* Add Request representationIdan Gazit2012-04-231-0/+81