Returning Values from Forms: multipart/form-data
draft-ietf-appsawg-multipart-form-data-04

The information below is for an old version of the document
Document Type Active Internet-Draft (appsawg WG)
Last updated 2014-08-24
Replaces draft-masinter-multipart-form-data
Stream IETF
Intended RFC status (None)
Formats plain text pdf html bibtex
Additional URLs
- Mailing list discussion
Stream WG state WG Document (wg milestone: Dec 2014 - Publication requeste... )
Document shepherd Salvatore Loreto
IESG IESG state I-D Exists
Consensus Boilerplate Unknown
Telechat date
Responsible AD (None)
Send notices to (None)
Network Working Group                                        L. Masinter
Internet-Draft                                                     Adobe
Obsoletes: 2388 (if approved)                            August 24, 2014
Intended status: Standards Track
Expires: February 25, 2015

            Returning Values from Forms: multipart/form-data
               draft-ietf-appsawg-multipart-form-data-04

Abstract

   This specification (re)defines the multipart/form-data Internet Media
   Type, which can be used by a wide variety of applications and
   transported by a wide variety of protocols as a way of returning a
   set of values as the result of a user filling out a form.  It
   replaces RFC 2388.

Status of This Memo

   This Internet-Draft is submitted 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 February 25, 2015.

Copyright Notice

   Copyright (c) 2014 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.  Code Components extracted from this document must
   include Simplified BSD License text as described in Section 4.e of

Masinter                Expires February 25, 2015               [Page 1]
Internet-Draft             multipart/form-data               August 2014

   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.

Table of Contents

   1.  NOTE  . . . . . . . . . . . . . . . . . . . . . . . . . . . .   2
   2.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   3
   3.  URL encoding non-ASCII values . . . . . . . . . . . . . . . .   3
   4.  Advice for Forms and Form Processing  . . . . . . . . . . . .   3
   5.  Definition of multipart/form-data . . . . . . . . . . . . . .   4
     5.1.  Boundary parameter of multipart/form-data . . . . . . . .   4
     5.2.  Content-Disposition header for each part  . . . . . . . .   4
     5.3.  filename attribute of content-distribution part header  .   5
     5.4.  Multiple files for one form field . . . . . . . . . . . .   5
     5.5.  Content-Type header for each part . . . . . . . . . . . .   5
     5.6.  The charset parameter for text/plain form data  . . . . .   6
     5.7.  The _charset_ field for default charset . . . . . . . . .   6
     5.8.  Content-Transfer-Encoding deprecated  . . . . . . . . . .   6
     5.9.  Other Content- headers  . . . . . . . . . . . . . . . . .   7
   6.  Operability considerations  . . . . . . . . . . . . . . . . .   7
     6.1.  Non-ASCII field names and values  . . . . . . . . . . . .   7
       6.1.1.  Avoid non-ASCII field names . . . . . . . . . . . . .   7
       6.1.2.  Interpreting forms and creating form-data . . . . . .   7
       6.1.3.  Parsing and interpreting form data  . . . . . . . . .   8
     6.2.  Ordered fields and duplicated field names . . . . . . . .   8
     6.3.  Interoperability with web applications  . . . . . . . . .   8
     6.4.  Correlating form data with the original form  . . . . . .   9
   7.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .   9
   8.  Security Considerations . . . . . . . . . . . . . . . . . . .   9
   9.  Media type registration for multipart/form-data . . . . . . .  10
   10. References  . . . . . . . . . . . . . . . . . . . . . . . . .  10
     10.1.  Normative References . . . . . . . . . . . . . . . . . .  10
     10.2.  Informative References . . . . . . . . . . . . . . . . .  11
   Appendix A.  Changes from RFC 2388  . . . . . . . . . . . . . . .  11
   Appendix B.  Alternatives . . . . . . . . . . . . . . . . . . . .  12
   Author's Address  . . . . . . . . . . . . . . . . . . . . . . . .  12

1.  NOTE

   There is a GitHub repository for this draft at
   https://github.com/masinter/multipart-form-data along with an issue
   tracker.  This specification is a work item of the APPSAWG
   Applications Area working group, apps-discuss@ietf.org.  Please raise
   issues in the tracker, and/or send to the apps-discuss list.

Masinter                Expires February 25, 2015               [Page 2]
Internet-Draft             multipart/form-data               August 2014
Show full document text