Client found response content type of 'text/html', but expected 'text/xml'.
Host: rsdn.ru
Content-Length: 435
Expect: 100-continue
Proxy-Connection: Keep-Alive
</PRE>
<P>
The following error was encountered:
<UL>
<LI>
<STRONG>
Invalid Request
</STRONG>
</UL>
<P>
Some aspect of the HTTP Request is invalid. Possible problems:
<UL>
<LI>Missing or unknown request method
<LI>Missing URL
<LI>Missing HTTP Identifier (HTTP/1.0)
<LI>Request is too large
<LI>Content-Length missing for POST or PUT requests
<LI>Illegal character in hostname; underscores are not allowed
</UL>
Лезу через проксю. Без авторизации
Здравствуйте, na1s, Вы писали:
N>Client found response content type of 'text/html', but expected 'text/xml'.
N>Лезу через проксю. Без авторизации
Возникала такая же ошибка при тех же обстоятельствах, помогло
следующее решениеАвтор: Tra1t0r
Дата: 31.08.08
, а именно добавление в janus.exe.config:
<system.net>
<settings>
<servicePointManager checkCertificateName="true" checkCertificateRevocationList="false" useNagleAlgorithm="true" expect100Continue="false"/>
<httpWebRequest maximumResponseHeadersLength="64" useUnsafeHeaderParsing="false"/>
</settings>
</system.net>