You can use ASIHTTPRequest , which exposes this as -requestStatusMessage . Or you can use Core Foundation CFHTTP , which provides CFHTTPMessageCopyResponseStatusLine . Unfortunately, I do not believe that there is a good way to get to CFHTTPMessage from NSHTTPURLResponse . Of course, ASIHTTPRequest is pretty awesome anyway.
source share