[whatwg] Re: HTTP 205 response

Boris Zbarsky bzbarsky at mit.edu
Mon Apr 25 20:02:04 PDT 2005


Ian Hickson wrote:
> Changed to specifically refer to <form> elements.

I assume the specification somewhere makes it clear that element names in orange 
(is this a good idea accessibility-wise?) mean <html:*> elements or something 
equivalent?

>>See also https://bugzilla.mozilla.org/show_bug.cgi?id=198309 for some
>>discussion on the issue.
> 
> Did you have any specific comments in mind?

Yes.  It's not clear which document should be reset when the 205 response is 
received if the form had a target attribute.  Note that if that happened the 205 
may be received after the original document no longer exists.  Also note that in 
the simplest and most straightforward implementation of form submission (as just 
another load in a window) the HTTP request may only be aware of the target 
document, not the one it was "dispatched from" (whatever that means, in general; 
see next paragraph).

It's also not clear what should happen if a 205 response is received in response 
to an HTTP request that is NOT a form submission (say a link click, the user 
typing a URI in the URL bar, a window.open call, etc, etc).  It may be that the 
specification wishes to leave these cases undefined; it may be worth clearly 
saying so in that case.

One other thing.  When a 205 is received, will the onreset handlers of the 
relevant forms fire?

-Boris




More information about the whatwg mailing list