def get(self, url, **kwargs): response = super().get(url, **kwargs) handle_if_error_response(response) return response
def options(self, url, **kwargs): response = super().options(url, **kwargs) handle_if_error_response(response) return response
def head(self, url, **kwargs): response = super().head(url, **kwargs) handle_if_error_response(response) return response
def delete(self, url, **kwargs): response = super().delete(url, **kwargs) handle_if_error_response(response) return response
def patch(self, url, data=None, **kwargs): response = super().patch(url, data, **kwargs) handle_if_error_response(response) return response
def post(self, url, data=None, json=None, **kwargs): response = super().post(url, data, json, **kwargs) handle_if_error_response(response) return response