Coder Social home page Coder Social logo

Comments (7)

maraujop avatar maraujop commented on June 26, 2024

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.

michaelhelmick avatar michaelhelmick commented on June 26, 2024

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.

michaelhelmick avatar michaelhelmick commented on June 26, 2024

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.

maraujop avatar maraujop commented on June 26, 2024

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.

michaelhelmick avatar michaelhelmick commented on June 26, 2024

Awesome, thanks!

from requests-oauth.

maraujop avatar maraujop commented on June 26, 2024

No problem, thank you!

from requests-oauth.

maraujop avatar maraujop commented on June 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.