ios - NSURLRequest setting body to null when NTLM -


i'm using charles view traffic between app , server. there 3 steps in ntlm handshake. 2 failures , success. however, on success step, nsurlrequest body null. i'm not setting anywhere in app, , can assume somewhere deep inside ios framework itself.

once authenticated, requests body stay should. during handshake breaks.

fwiw, here's piece of code sets auth block

[[operation httprequestoperation] setwillsendrequestforauthenticationchallengeblock:^(nsurlconnection *connection, nsurlauthenticationchallenge *challenge) {     if (challenge.previousfailurecount <= 0)     {         nsurlcredential *credential = [self credential];         [[challenge sender] usecredential:credential forauthenticationchallenge:challenge];     } else     {         [[rkobjectmanager sharedmanager].operationqueue cancelalloperations];         [[nsnotificationcenter defaultcenter] postnotificationname:nsnotificationname_authenticationfailed object:nil];         [[challenge sender] cancelauthenticationchallenge:challenge];     } }]; 

has else run across this?


Comments

Popular posts from this blog

c++ - CryptStringToBinary API behavior -

java.util.scanner - How to read and add only numbers to array from a text file -

iphone - Three second countdown in cocos2d -