The file URI Scheme
draft-kerwin-file-scheme-03

The information below is for an old version of the document
Document Type Active Internet-Draft (individual)
Author Matthew Kerwin 
Last updated 2013-06-24
Replaced by RFC 8089, RFC 8089
Stream (None)
Formats pdf htmlized (tools) htmlized bibtex
Stream Stream state (No stream defined)
Consensus Boilerplate Unknown
RFC Editor Note (None)
IESG IESG state I-D Exists
Telechat date
Responsible AD (None)
Send notices to (None)
Network Working Group                                          M. Kerwin
Internet-Draft
Intended status: Standards Track                           June 25, 2013
Expires: December 27, 2013

                          The file URI Scheme
                      draft-kerwin-file-scheme-03

Abstract

   This document specifies the file Uniform Resource Identifier (URI)
   scheme that was originally specified in [RFC1738].  The purpose of
   this document is to keep the information about the scheme on
   standards track, since [RFC1738] has been made obsolete.

Note to Readers

   This draft should be discussed on its github project page [github].

Status of This Memo

   This Internet-Draft is submitted to IETF in full conformance with the
   provisions of BCP 78 and BCP 79.

   Internet-Drafts are working documents of the Internet Engineering
   Task Force (IETF).  Note that other groups may also distribute
   working documents as Internet-Drafts.  The list of current Internet-
   Drafts is at http://datatracker.ietf.org/drafts/current/.

   Internet-Drafts are draft documents valid for a maximum of six months
   and may be updated, replaced, or obsoleted by other documents at any
   time.  It is inappropriate to use Internet-Drafts as reference
   material or to cite them other than as "work in progress."

   This Internet-Draft will expire on December 27, 2013.

Copyright Notice

   Copyright (c) 2013 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

   This document is subject to BCP 78 and the IETF Trust's Legal
   Provisions Relating to IETF Documents
   (http://trustee.ietf.org/license-info) in effect on the date of
   publication of this document.  Please review these documents
   carefully, as they describe your rights and restrictions with respect
   to this document.

Kerwin                  Expires December 27, 2013               [Page 1]
Internet-Draft                 File Scheme                     June 2013

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   2
     1.1.  Conventions and Terminology . . . . . . . . . . . . . . .   2
   2.  History . . . . . . . . . . . . . . . . . . . . . . . . . . .   2
   3.  Scheme Definition . . . . . . . . . . . . . . . . . . . . . .   3
   4.  Implementation Notes  . . . . . . . . . . . . . . . . . . . .   5
     4.1.  Hierarchical Structure  . . . . . . . . . . . . . . . . .   5
     4.2.  Drives, drive letters, mount points, file system root . .   5
     4.3.  Character sets and encodings  . . . . . . . . . . . . . .   6
   5.  Security Considerations . . . . . . . . . . . . . . . . . . .   6
   6.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .   6
   7.  References  . . . . . . . . . . . . . . . . . . . . . . . . .   6
     7.1.  Normative References  . . . . . . . . . . . . . . . . . .   6
     7.2.  Informative References  . . . . . . . . . . . . . . . . .   6

1.  Introduction

   URIs were previously defined in [RFC1738], which was updated by
   [RFC3986].  Those documents also specify how to define schemes for
   URIs.

   The first definition for many URI schemes appeared in [RFC1738].
   Because that document has been made obsolete, this document copies
   the file URI scheme from it to allow that material to remain on
   standards track.

1.1.  Conventions and Terminology

   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
   "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
   document are to be interpreted as described in [RFC2119].

2.  History

   The file URI scheme was first defined in [RFC1630], an informational
   RFC which does not specify an Internet standard of any kind.  The
   definition was standardised in [RFC1738], and the scheme was
   registered with IANA, however the latter definition omitted certain
   language from former that clarified aspects such as:

   o  the use of slashes to donate boundaries between directory levels
      of a hierarchical file system

   o  the requirement that client software convert the file URL into a
      file name in the local file name conventions

   o  a justification for defining the scheme.

Kerwin                  Expires December 27, 2013               [Page 2]
Internet-Draft                 File Scheme                     June 2013

   The Internet draft [I-D.draft-hoffman-file-uri] was written in an
   effort to keep the file URI scheme on standards track, but it expired
   in 2005.  That draft enumerated concerns arising from the various,
   often conflicting implementations.

   Despite lacking a living standard, the file URI scheme is used by way
   of example in [RFC3986] three times:

   1.  section 1.1 [p6] uses "file:///etc/hosts" as an example

   2.  section 1.2.3 [p10] mentions the "file" scheme regarding relative
       references

   3.  section 3.2.2 [p21] says that '...the "file" URI scheme is
       defined so that no authority, an empty host, and "localhost" all
Show full document text