Replacing the http_* methods with a generic http method. Might need to reintroduce the former if edge cases warrent.