@
joshua7v 谢谢你的回复.
可是请问你说的header是在哪里???
我在请求的成功回调里做了allHeaderFields的输出:
NSLog(@"---allHeader:%@", operation.response.allHeaderFields);
输出的内容看不懂:
{
"Cache-Control" = "no-store, no-cache, must-revalidate, post-check=0, pre-check=0";
Connection = close;
"Content-Length" = 0;
"Content-Type" = "text/html; charset=utf-8";
Date = "Thu, 18 Jun 2015 01:54:57 GMT";
Expires = "Thu, 19 Nov 1981 08:52:00 GMT";
Pragma = "no-cache";
Server = "Apache/2.2.15 (CentOS)";
"Set-Cookie" = "PHPSESSID=r8v3507eflechtskjkgtavf923; path=/";
"X-Powered-By" = "PHP/5.5.25";
}