An check for request_method being the correct type.