XML XHR Request resultin in 0 stauts and empty response text.
        Posted  
        
            by deepak
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by deepak
        
        
        
        Published on 2010-05-10T10:45:34Z
        Indexed on 
            2010/05/10
            10:54 UTC
        
        
        Read the original article
        Hit count: 276
        
xmlhttprequest
|JavaScript
I had another post for the same problem... I think I put the question in a wrong way.. Let me give more details: i have test.html in my c:\ drive and I have a local webserver runnin in qt, and i have some plugin written to that webserver which will get the request and send some response text "hello". in test.html i m making a xml xhr request which will make a GET request like localhost:8080/test which will return the text "hello" by that plugin. Now if I directly open test.html from C:\ it doesnt work, i mean i get response 4 and status 0, and response text nothing.. but the request is passing through webserver and plugin
It works fine, when the test.html is put in the webserver pages directory.
© Stack Overflow or respective owner