Accepting all positive HTTP status

Merged in changes from pull request #161. Implementation was merged OK, but I had to manually make changes to the tests.