It might be good to implement this as an interface requiring an HttpStatusCode method.