fixed issues with get() method #3

merged 2 commits into from Feb 22, 2012


None yet
2 participants

neilb commented Feb 22, 2012

I've changed the get() method, so it now gets the HTTP response code, and if it's 2xx then returns the content, otherwise it croaks. Previously a number of test cases were failing, but this fix makes them all pass.

lorn added a commit that referenced this pull request Feb 22, 2012

Merge pull request #3 from neilbowers/master
fixed issues with get() method

@lorn lorn merged commit c72a80b into lorn:master Feb 22, 2012


lorn commented Feb 22, 2012

Thank you again :) Because that, I open a new issue when we got a 3xx HTTP Error Code the code need to follow then or not perhaps something like a auto_follow 0|1 in the class constructor work fine with this.
I'll work on it and will release when resolve this "new" issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment