Permalink
Commits on May 16, 2012
  1. Apparently requests now handles cookies properly

    So there is no need to set request.cookies to an emtpy dictionary, also a CookieJar object
    is expected to be passed.
    committed May 16, 2012
Commits on May 10, 2012
Commits on May 2, 2012
  1. Updating AUTHORS.

    Two different people pointed out the sloppy fix I made
    to the TWITTER_CONSUMER_{KEY,SECRET} test values.
    Adding both Anisse Astier and Martin Trigaux to AUTHORS.
    istruble committed May 2, 2012
Commits on Apr 28, 2012
  1. fix import error in tests.py

    mart-e committed Apr 28, 2012
Commits on Apr 22, 2012
  1. Adding Ian Struble to AUTHORS

    committed Apr 22, 2012
  2. Redoing test naming structure and removing advanced unittest methods

    This way this package can be tested with and old unittest package and old
    Python version.
    committed Apr 22, 2012
  3. Merge branch 'dev' of git://github.com/istruble/requests-oauth into i…

    …struble
    
    Conflicts:
    	tests/tests.py
    committed Apr 22, 2012
  4. Fixing Handling oauth_verifier and Token

    This fixes #GH-14 and #GH-16. Breaks backwards compatibility. Token is now
    a simpler object, there is no set_verifier method anymore. Instead passing
    `oauth_verifier` as data parameter is needed.
    committed Apr 22, 2012
Commits on Mar 19, 2012
  1. Merge remote-tracking branch 'origin/dev' into dev

    Conflict was basically just the WHAT_TO_TEST commit [1].
    Also using POST in test_twitter_oauth_request_token
    (reverting switch to GET in last commit [2]).
    
    [1]: 20a7a8a tests.py have now a WHAT_TO_TEST variable.
    [2]: da8a0f4 Broke tests out a little bit.
    
    Conflicts:
    	tests/tests.py
    istruble committed Mar 19, 2012
Commits on Mar 18, 2012
  1. If Content-Type is not application/x-www-form-urlencoded and not usin…

    …g header_auth
    
    We send data encoded in the url. This makes Twitter test `test_update_profile_image` pass,
    fixing issue #GH-17
    committed Mar 18, 2012
Commits on Mar 17, 2012
  1. Returning None for non set values

    This should fix #GH-18
    committed Mar 17, 2012
  2. tests.py have now a WHAT_TO_TEST variable.

    This allows to easily test one authentication system at a time if necessary
    committed Mar 17, 2012
  3. Fixing _enc_params and cleaning data

    url used in requests is calculated different, if we reset _enc_params as we had to do before,
    we can lose GET parameters.
    
    Also if we are doing a POST request, if information gets encoded in the url, we clean data, for
    avoiding sending duplicate information, which makes many OAuth providers fail.
    committed Mar 17, 2012
Commits on Mar 9, 2012
  1. Broke tests out a little bit.

    Trying to identify which tests are valid and moving a very
    small amount of common code into setUp().
    istruble committed Mar 9, 2012
Commits on Mar 8, 2012
  1. Fixed typo in test_settings.

    Changed repeated TWITTER config lines to CONSUMER from API.
    istruble committed Mar 8, 2012
Commits on Feb 29, 2012
  1. Sometimes Content-Type is not set

    Adding a test for a GET with params. In these cases data_and_params need
    to be set in order to work. See issue #GH-17
    committed Feb 29, 2012
Commits on Feb 22, 2012
  1. Upgrading tests

    All tests against Twitter API are called with header_auth authentication and
    url query string authentication.
    
    Current version of requests-oauth only works with my fork of requests, due to
    this bug in requests:
    requests/requests#445
    committed Feb 22, 2012
  2. Sometimes Content-Type is not set

    This is probably the final patch for issues #GH-10 and #GH-12
    
    The body of the request isn't included in the signature base string if the
    request's 'Content-Type' header isn't "application/x-www-form-urlencoded".
    
    Also, requests-oauth overwrites request.data, relying on requests reenconding
    correctly if `request.data` or `request.files` was modified in the hook. This
    way we avoid duplicating code from requests and hooks can alter body to be sent.
    
    This way we can also pull some parameters out of the data, such as oauth_callback.
    This way we get #GH-13 working.
    committed Feb 22, 2012
Commits on Feb 21, 2012
  1. Using Content-Type following spec and adding oauth_signature

    This works on a better patch for #GH-12. It follows the spec definition and also
    includes the signature when posting when header_auth is not used.
    committed Feb 21, 2012
Commits on Feb 12, 2012
  1. Data can be passed as a string to requests

    Adapting @gldnspud patch with @immunda's issue description.
    committed Feb 12, 2012
Commits on Jan 13, 2012
  1. Bumping version to 3.0.0

    committed Jan 13, 2012
  2. Header authentication fully supported

    You can turn it on or off using header_auth parameter or attribute.
    It supports all type of requests now.
    committed Jan 13, 2012
Commits on Dec 19, 2011
  1. Bumping version to 0.2.4

    committed Dec 19, 2011
  2. Adding header authentication support

    * Twitter needs header authentication for being able to upload an image.
    I'm not custom settings the Content-Type any longer, as requests handles this
    appropriately.
    
    * Adding a test that changes the profile picture for a Hommer Simpson avatar image
    in Twitter account.
    
    * Looks like Rdio API doesn't support header authentication, adding a flag to the hook,
    to be able to use string encoded authentication. Need to do some extra checkings on
    Rdio, it could be a realm bad setting or passing options incorrectly.
    
    * Improving delete lists Twitter test, in case it fails.
    committed Dec 19, 2011
  3. Adding jqxl0205 to AUTHORS

    committed Dec 19, 2011
  4. Fixing encoding issues, thanks to jqxl0205

    This resolves issues #7 and #8
    committed Dec 19, 2011