Comments (7)
Sorry Mike,
I've read this several times and I'm not sure what the question is or what do you want me to do. Remember that the hook doesn't do any connection handling, your binding should take care of this. The hook is coded for let you sign your requests with OAuth1.0. It only intercepts your requests and "signs" them.
Anything beyond this, is something that lives in a separate wrapper on top. Does this seem reasonable?
BTW did you get to test dev
branch. I'm quite sure it should fix your issue.
Cheers,
Miguel
from requests-oauth.
No. I've been busy and haven't got to test.
As far as the issue. I just wanted a way to determine of OAuthHook.consumer_key and OAuthHook.consumer_secret were set.
Sent from my iPhone
On Mar 11, 2012, at 1:45 PM, Miguel [email protected] wrote:
Sorry Mike,
I've read this several times and I'm not sure what the question is or what do you want me to do. Remember that the hook doesn't do any connection handling, your binding should take care of this. The hook is coded for let you sign your requests with OAuth1.0. It only intercepts your requests and "signs" them.
Anything beyond this, is something that lives in a separate wrapper on top. Does this seem reasonable?
BTW did you get to test
dev
branch. I'm quite sure it should fix your issue.Cheers,
Miguel
Reply to this email directly or view it on GitHub:
#18 (comment)
from requests-oauth.
If OAuthHook.consumer_key isn't set. Currently, it won't return None
Sent from my iPhone
On Mar 11, 2012, at 1:45 PM, Miguel [email protected] wrote:
Sorry Mike,
I've read this several times and I'm not sure what the question is or what do you want me to do. Remember that the hook doesn't do any connection handling, your binding should take care of this. The hook is coded for let you sign your requests with OAuth1.0. It only intercepts your requests and "signs" them.
Anything beyond this, is something that lives in a separate wrapper on top. Does this seem reasonable?
BTW did you get to test
dev
branch. I'm quite sure it should fix your issue.Cheers,
Miguel
Reply to this email directly or view it on GitHub:
#18 (comment)
from requests-oauth.
Hi Mike,
I've set None
for default values for consumer_key
and consumer_secret
. Sorry, to take so long, I should have understood this the first time, your explanation was more than good.
Cheers,
Miguel
from requests-oauth.
Awesome, thanks!
from requests-oauth.
No problem, thank you!
from requests-oauth.
Version 0.4.0 has been released, it works well with requests 0.12.1 or higher. I'm closing this issue.
Cheers
from requests-oauth.
Related Issues (20)
- OauthHook not passing in oauth_* to Request in auth_header=False HOT 10
- Python 3 support HOT 5
- Breaks with requests==0.12.1. HOT 4
- AttributeError in urllib.py raised using requests-oauth and Imgur's API HOT 3
- Using only consumer_key and consumer_secret breaks POST requests HOT 2
- Invalid signature generation with double encoding HOT 2
- Trouble POSTing UTF-8 data HOT 1
- POST with utf-8 not correctly catched HOT 3
- AttributeError: 'Request' object has no attribute '_enc_params' HOT 2
- Signing broke with parameters that have a None value
- Signature broken when using `params` argument with requests.get HOT 2
- Using header_auth=False with put hoists the PUT parameters into the query string
- correct url getting 400 status
- Can't import modules correctly HOT 2
- Broken with update of python-requests HOT 3
- Can this library handle refresh requests using oauth_session_handle
- Value Error
- Does this package support Python 3?
- Persistent HTTPS connections?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from requests-oauth.