W3C home > Mailing lists > Public > public-annotation@w3.org > August 2015

Re: [web-annotation] Dropping type from ... what?

From: BigBlueHat via GitHub <sysbot+gh@w3.org>
Date: Thu, 27 Aug 2015 20:10:30 +0000
To: public-annotation@w3.org
Message-ID: <issue_comment.created-135538928-1440706229-sysbot+gh@w3.org>
@shepazu let's move this particular debate to a different forum. 
:smile: Party thoughts below.

> In 1996, when that was written, the Web didn't have many features 
that it has today. Today, we have webapps and the FileReader API.

FileReader API, fwiw, is about the file system and not Web related. 
It's a point where the user agent does something other than the 
Web--hence the need to support other ways of doing things than 
`Content-Type` headers, etc.

> W3C Recommendations regularly include file extensions, such as 

Right. For SVG files stored on a file system.

>HTML5 defines an algorithm that includes the concept of file 
extensions, in 4.8.3 "Downloading resources":

Correct. For downloading files to a filesystem via a browser.

> IANA includes a file extensions as part of the registry for a MIME 

Yep. This registry is not just for the Web or HTTP or email. It's also
 for file systems which use extensions in place of content 

> IETF defines file name extensions in RFC6838:

Right. Again, these registrations have a wider use than just the Web 
or email. It's also been being done this way since at least 1996: 

> File extensions are not universal, but it is a pragmatic heuristic 
for many resources on the web, if there's no other way to get the MIME

There are a few ways to do media type detection. There need to be 

> It's pedantic to pretend otherwise.

Hardly. https://github.com/BigBlueHat/this-is-not-a.pdf

Happy to chat (elsewhere) about it more fully if you'd like. It's an 
important feature of the Web that's kept it ticking for as long as it 
has. Breaking it has some wide reaching consequences.

GitHub Notif of comment by BigBlueHat
Received on Thursday, 27 August 2015 20:10:31 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:54:39 UTC