How to get ajax message when status is 0?

How to get ajax message when status is 0?

Hi!

I know that ajax means asynchronous http and xml, but if we can get synchronous and non-xml data, I want get non-http data. The problem is that if data are not http they have no httpstatus (http status is 0) what means I get error message instead of success. Is there any way to disable http status checking? 

Everything works fine with pure JS XMLHttpRequest. Moreover it is not possible to set http status for non-http response in QWebView: http://doc.qt.digia.com/qt/qnetworkrequest.html#Attribute-enum