Re: [w3c/webcomponents] Status codes for HTML Imports (#568)

This doesn't really seem related to HTML imports or modules, but instead to all the load events on the platform. `<link rel="import">` will probably not be in the final form of HTML modules, but if it were, this would be a question about `<link>` in general, not about `rel="import"` specifically.

In general the platform has gone with an approach where an [ok status](https://fetch.spec.whatwg.org/#ok-status) generates a load event, and a network error or non-ok status generates an "error" event. Why is distinguishing between the different OK statuses important for your use case? For GETs, the only possibly-useful ones I can see are 200, 203, 204, maybe 205. Can you describe an application in more detail that would make use of the distinction between these status codes?

Remember that we don't add features because there's no reason for not adding them. We add them based on consideration of use cases which cannot be accomplished any other way. See also https://wiki.whatwg.org/wiki/FAQ#Is_there_a_process_for_adding_new_features_to_a_specification.3F for tips on describing your use case independent of your solution.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/568#issuecomment-247885082

Received on Sunday, 18 September 2016 22:28:12 UTC