dormouse-client-0.2.0.0: Simple, type-safe and testable HTTP client
Safe HaskellSafe-Inferred
LanguageHaskell2010

Dormouse.Client.Status

Synopsis

Documentation

pattern Informational :: Int Source #

Matches for 1XX http status codes

pattern Successful :: Int Source #

Matches for 2XX http status codes

pattern Redirect :: Int Source #

Matches for 3XX http status codes

pattern ClientError :: Int Source #

Matches for 4XX http status codes

pattern ServerError :: Int Source #

Matches for 5XX http status codes

pattern Ok :: Int Source #

Matches the 200 Ok status code

pattern Created :: Int Source #

Matches the 201 Created status code

pattern Accepted :: Int Source #

Matches the 202 Accepted status code

pattern NonAuthoritativeInformation :: Int Source #

Matches the 203 Non-Authoritative Information status code

pattern NoContent :: Int Source #

Matches the 204 No Content status code

pattern ResetContent :: Int Source #

Matches the 205 Reset Content status code

pattern PartialContent :: Int Source #

Matches the 206 Partial Content status code

pattern BadRequest :: Int Source #

Matches the 400 Bad Request status code

pattern NotFound :: Int Source #

Matches the 404 Not Found status code

pattern InternalServerError :: Int Source #

Matches the 500 Internal Server Error status code