|
Re: [sXBL] Various issues in the sXBL draft -- section 1: msg#00071web.svg
Ian Hickson wrote: >>At what point is one considered to have hit something "in error" for >>sXBL? > > When the spec says so. Search for "in error" for all the cases that > trigger that condition. I meant chronologically... Hopefully my comments on section 2 make this a little clearer; see them, please? > Section 4.1, which refers to RFC2396, which is obsoleted by RFC3986, whose > section 5.1.3 explicitly states that it is the post-redirect URI that must > be used as the base URI. Ah, ok. Thank you. > I really don't understand. If the URI in question is one which the UA > already has loaded What do you mean by "already has loaded"? Per the specification we're discussing, the only URI comparisons that should be happening are those of post-redirect URIs to URIs in the cache that we have. Given any "starting" URI, an implentation has to perform the following steps, as I see it: 1) Determine what "resolved" URI this "starting" URI will resolve to after all redirects. 2) Look for this "resolved" URI in its "loaded XBL stuff" cache (probably need to include "loading XBL stuff" as well, which is a separate issue). 3) If step 2 doesn't find anything, fetch the data for the URI, parse it, etc. The problem I'm having is with step 1. If there is no data, or only expired data in the HTTP cache for the "starting" URI, then the implemetation has to do an HTTP GET on the "starting" URI to determing the "resolved" URI for step 2. Per the text of the specification, this should happen even if the "starting" URI is already in the cache we access in step 2, since it could now result in a redirect. -Boris |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [sXBL] Various issues in the sXBL draft -- section 2: 00071, Boris Zbarsky |
|---|---|
| Next by Date: | Re: [sXBL] Various issues in the sXBL draft -- section 2: 00071, Ian Hickson |
| Previous by Thread: | Re: [sXBL] Various issues in the sXBL draft -- section 1i: 00071, Ian Hickson |
| Next by Thread: | Re: [sXBL] Various issues in the sXBL draft -- section 1: 00071, Ian Hickson |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |