RE: CfC: publish FPWD of "app: URI scheme"; deadline April 26th

>>  In fact, I had written a paper a couple of years ago showing how proxy middleware can be used to increase battery life in mobile devices with respect to AJAX requests (both from native applications constructing web requests over TCP sockets, and from widgets using the old Konfabulator web runtime engine):  G. Mandyam, " Improving battery life for wireless web services through the use of a mobile proxy", IEEE  Int.'l Symposium on Personal, Indoor and Mobile Communications (PIMRC), 2010.

> Haven't looked online, but would like to read this. Can you email it to me if not publicly available?

Don't own the copyright - IEEE does.  I'll see what I can do.

> I've thought about the same thing for many years (and might have even proposed a few things a few years ago on the WebAppsWG list - like the .htaccess like syntax from Apache for associating MIME and file extensions). I  just always failed to come up with a string use case that is not covered by sniffing.

When file system is unable to provide is unable to provide the media type, then the manifest could be a source.  I am not saying that the MIME Sniffing spec cannot be extended to cover these use cases however, but it is limiting to rely on this doc as the only possible way to determine MIME type.

> I don't think we are putting any requirement on XHR? All that is being defined is HTTP response semantics so things "just work" (tm)... Or that's the goal.

The first sentence in Section 6.4:  "This section describes how a user agent retrieves files from inside a container by dereferencing an app: URI, and how a user agent handles error conditions (e.g., when a file is not found)."  

To me this means that the UA is directly generating the response to the XHR request.  This means that the UA must differentiate between XHR requests that are targeted to the network, and XHR requests targeted to the file system.  I believe this imposes requirements on the XHR implementation.

-Giri  

Received on Tuesday, 23 April 2013 00:18:44 UTC