// Record when the request started, so we can timeout if nothing happens
[selfsetLastActivityTime:[NSDatedate]];
}
// This is the 'main loop' for the request. Basically, it runs the runloop that our network stuff is attached to, and checks to see if we should cancel or timeout
[selffailWithError:[NSErrorerrorWithDomain:NetworkRequestErrorDomaincode:ASIInternalErrorWhileApplyingCredentialsTypeuserInfo:[NSDictionarydictionaryWithObjectsAndKeys:@"Failed to get authentication object from response headers",NSLocalizedDescriptionKey,nil]]];
[selffailWithError:[NSErrorerrorWithDomain:NetworkRequestErrorDomaincode:ASIInternalErrorWhileApplyingCredentialsTypeuserInfo:[NSDictionarydictionaryWithObjectsAndKeys:@"Failed to get authentication object from response headers",NSLocalizedDescriptionKey,nil]]];