Show the HTTP status code in the error
Use format() instead of C-style string formatting
Merge pull request #3 from tsudoko/errormsg

Show the HTTP status code in the error