- From: <bugzilla@jessica.w3.org>
- Date: Sat, 08 Sep 2012 09:49:13 +0000
- To: public-html-a11y@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=13359 --- Comment #66 from Silvia Pfeiffer <silviapfeiffer1@gmail.com> 2012-09-08 09:49:12 UTC --- (In reply to comment #65) > If all the page generator (human author or otherwise) has is the URL to the > content then how will it know the type of content? That's what mime types are for. > > If the author doesn't know the media type/can't find out through probing, why > > would the browser get it right? > > The browser has access to the content-type when it tries to play the content, > right? The JS developer has that access, too, via the getResponseHeader() function, see http://www.w3.org/TR/XMLHttpRequest/#the-getresponseheader-method . Is that sufficient or do you have a use case beyond this? -- Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
Received on Saturday, 8 September 2012 09:49:14 UTC