I would like to customize ASIHTTPRequest to be more picky about when it fires requestFinished. In particular, I only want requestFinished to be called when the status code is 200. Other than that, for all other status codes, or network-level failures, I want a requestFailed. Is there a way to override the default functionality cleanly, or am I opening a can of worms by trying to modify ASIHTTPRequest? If there is a way to do it cleanly, where is it?
I would like to customize ASIHTTPRequest to be more picky about when it fires
Share
try add a piece of code here in
ASIHTTPRequest.m