add token support for authorization header fields

因为这一句已经被AFNetworking标注为deprecated的了。



------------------ 原始邮件 ------------------
发件人: "Tang Qiao"<notifications@github.com>; 
发送时间: 2014年11月10日(星期一) 下午5:57
收件人: "yuantiku/YTKNetwork"<YTKNetwork@noreply.github.com>; 
抄送: "忘忧草"<445242970@qq.com>; 
主题: Re: [YTKNetwork] add token support for authorization header fields(#9)




In YTKNetwork/YTKNetworkAgent.m:
 > @@ -98,6 +98,12 @@ - (void)addRequest:(YTKBaseRequest *)request { >          [_manager.requestSerializer setAuthorizationHeaderFieldWithUsername:(NSString *)authorizationHeaderFieldArray.firstObject >                                                                     password:(NSString *)authorizationHeaderFieldArray.lastObject]; >      } > +     > +    NSString *token = [request requestAuthorizationTokenForHeaderField]; > +    if (token) { > +//        [_manager.requestSerializer setAuthorizationHeaderFieldWithToken:token];  
能解释下这句为什么注释掉吗？
 
—
Reply to this email directly or view it on GitHub.