Merge pull request #43 in BPHVB/mvm_core from feature/dsds_bugs to develop

* commit 'b7a0423c061fe251daa102063d7d02a37eb10dc4':
  print cookie
This commit is contained in:
Suresh, Kamlesh 2018-12-14 16:05:47 -05:00
commit 45b650cca7

View File

@ -333,6 +333,11 @@
}
}
MVMCoreLog(@"********************************* Cookie Sent *********************************");
[[[NSHTTPCookieStorage sharedHTTPCookieStorage] cookies] enumerateObjectsUsingBlock:^(NSHTTPCookie * _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop) {
MVMCoreLog(@"Cookie Name: %@, Cookie Value: %@",obj.name, obj.value);
}];
[[NSNotificationCenter defaultCenter] postNotificationName:MVMCoreNotificationGoingToServer object:nil];
NSURLSessionTask *task = [session dataTaskWithRequest:request completionHandler:^(NSData * _Nullable data, NSURLResponse * _Nullable response, NSError * _Nullable error) {