iOS AFNetworking中cookie重定向代码
2016-10-01
42
// 1. 取出需要同步的url (登录请求中返回的重定向地址)BESTHttpItem *httpItem = [BESTHttpHelper sharedHelper].curHttpItem;NSString *url = [NSString stringWithFormat:@"%@/#/login", httpItem.frontend_addr];// 2. 取出当前的headerFieldsNSDictionary *headerFields...