php environment: THINKPHP5
C# code:
request = (HttpWebRequest) WebRequest.Creeate(uri);
request.KeepAlive = false;
request.Method = "GET";
response = (HttpWebResponse) request.GetResponse();
php is exit($content);
If the length of $content exceeds 8000, then the content_length of the response = -1. If it is less than 8000, it is the real length. Can anyone tell me what is going on?