61,112
社区成员
发帖
与我相关
我的任务
分享
Exception in thread "main" java.io.IOException: Server returned HTTP response code: 500 for URL: http://www.886m.com/topic/405.jspx
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1243)
at TestPost.testPost(TestPost.java:47)
at TestPost.main(TestPost.java:60)
$url = 'http://www.886m.com/topic/405.jspx';
print_r(get_headers($url));
[0] => HTTP/1.0 200 OK
[1] => Content-Language: zh-CN
[2] => Content-Type: text/html;charset=UTF-8
[3] => Date: Wed, 25 Jun 2014 07:39:26 GMT
[4] => Server: Apache-Coyote/1.1
[5] => Set-Cookie: clientlanguage=zh_CN; Path=/