Skip to content

Commit

Permalink
Fix remove local cookies after status request
Browse files Browse the repository at this point in the history
  • Loading branch information
nasli committed Nov 16, 2017
1 parent 82b50eb commit 4b4c36e
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -673,8 +673,6 @@ - (void) getStatusOfTheServer:(NSString *)serverPath onCommunication:
_requestMethod = @"GET";

NSMutableURLRequest *request = [self sharedRequestWithMethod:_requestMethod path: urlString parameters: nil];

request.HTTPShouldHandleCookies = false;

NSURLSessionDataTask *sessionDataTask = [self mr_operationWithRequest:request retryingNumberOfTimes:k_retry_ntimes onCommunication:sharedOCCommunication success:success failure:failure];
[self setRedirectionBlockOnDatataskWithOCCommunication:sharedOCCommunication andSessionManager:sharedOCCommunication.networkSessionManager];
Expand Down

0 comments on commit 4b4c36e

Please sign in to comment.