ACEXML_HttpCharStream
ACEXML_HttpCharStream::Open() 不支持http1.1,如何解决? 看一看ACEXML_HttpCharStream源程序,在send_request函数中,把int bytes = ACE_OS::sprintf (command, "GET %s HTTP/1.0\r\n", path);
改int bytes = ACE_OS::sprintf (command, "GET %s HTTP/1.1\r\n", path);
再接收处理那里不用改!ACE没有做处理!!
重新编一下!
不过最好不要改!HTTP1.1 服务器是完全支持1.0的,没有必要改!!具体还要看你的用途了!!!
页:
[1]