GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
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.
get() wasn't returning failure for non-2xx response codes, which was …
…causing test suite to fail
Added fix to get() to Changes
Merge pull request #3 from neilbowers/master
fixed issues with get() method
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.