Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

working with Requests1.1.0 #49

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

working with Requests1.1.0 #49

wants to merge 2 commits into from

Conversation

lantip
Copy link

@lantip lantip commented Jan 22, 2013

fixing issues 'instancemethod' object is not subscriptable (requests 1.1.0 use different approach)

@graue
Copy link

graue commented Jan 22, 2013

Hey, I haven't had a chance to test this or look into the Requests changes yet, but thanks for the patch. There were a few problems that jumped out at me so I added comments inline... if you could fix those that would be great.

@lantip
Copy link
Author

lantip commented Jan 22, 2013

ah ok, noticed. I always use tab when code in python, never realized that would be a problem. I'll take a look again later. basically i'm just replace the code so it will work on python latest requests module. i'm commenting out some code just for historical purpose.
the only thing i'm not really sure is with the request.request.default lines. everything goes fine after i'm commenting out this line.

@lantip
Copy link
Author

lantip commented Jan 22, 2013

something wrong with my first commit, sorry. and also i've made it follow PEP8 standard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants