Несоответствие типов xml<->html
От: na1s  
Дата: 19.05.09 07:04
Оценка:

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>

Лезу через проксю. Без авторизации
Re: Несоответствие типов xml<->html
От: Ehecatl  
Дата: 15.09.09 11:31
Оценка:
Здравствуйте, 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>
 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.