Fixed mapping of status codes.
Merge pull request #1 from danielpovlsen/master

Fixed mapping of status codes.