W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2007

[whatwg] XMLHttpRequest for missing file

From: Geoffrey Garen <ggaren@apple.com>
Date: Thu, 28 Jun 2007 21:39:29 -0700
Message-ID: <ECF4F50E-60CB-4971-9D46-ABBCCD5E97FA@apple.com>
The XMLHttpRequest spec has this to say about failed loads:

<snip>
The NETWORK_ERR exception is thrown when a network error occurs in  
synchronous requests.
...
In case of network errors

In case of DNS errors or other type of networks run the following set  
of steps.This does not include HTTP responses that indicate some type  
of error, such as HTTP status code 410.
</snip>

What should happen with failed file:/// URL loads? For example, what  
if the file doesn't exist?

Thanks,
Geoff
Received on Thursday, 28 June 2007 21:39:29 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:56 UTC