added support for HTTP status code checks