Check HTTP status code of response.

http://docraptor.com/documentation#api_status_codes lists the possible HTTP status codes.
Merge pull request #5 from ladamson/check_http_code

Check HTTP status code of response.