Use of the Prefer Header Field in Web Distributed Authoring and Versioning (WebDAV)
RFC 8144

Document Type RFC - Proposed Standard (April 2017; No errata)
Updates RFC 7240
Was draft-murchison-webdav-prefer (individual in art area)
Last updated 2017-04-14
Stream IETF
Formats plain text pdf html bibtex
Reviews OPSDIR, GENART will not review this version
Stream WG state (None)
Document shepherd Julian Reschke
Shepherd write-up Show (last changed 2017-01-11)
IESG IESG state RFC 8144 (Proposed Standard)
Consensus Boilerplate Yes
Telechat date
Responsible AD Alexey Melnikov
Send notices to " julian.reschke@gmx.de" <julian.reschke@gmx.de>
IANA IANA review state IANA - Not OK
IANA action state RFC-Ed-Ack
Internet Engineering Task Force (IETF)                      K. Murchison
Request for Comments: 8144                                           CMU
Updates: 7240                                                 April 2017
Category: Standards Track
ISSN: 2070-1721

                   Use of the Prefer Header Field in
           Web Distributed Authoring and Versioning (WebDAV)

Abstract

   This document defines how the Prefer header field (RFC 7240) can be
   used by a Web Distributed Authoring and Versioning (WebDAV) client to
   request that certain behaviors be employed by a server while
   constructing a response to a request.  Furthermore, it defines the
   new "depth-noroot" preference.

   This document updates RFC 7240.

Status of This Memo

   This is an Internet Standards Track document.

   This document is a product of the Internet Engineering Task Force
   (IETF).  It represents the consensus of the IETF community.  It has
   received public review and has been approved for publication by the
   Internet Engineering Steering Group (IESG).  Further information on
   Internet Standards is available in Section 2 of RFC 7841.

   Information about the current status of this document, any errata,
   and how to provide feedback on it may be obtained at
   http://www.rfc-editor.org/info/rfc8144.

Copyright Notice

   Copyright (c) 2017 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
   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.

Murchison                    Standards Track                    [Page 1]
RFC 8144              Prefer Header Field in WebDAV           April 2017

Table of Contents

   1. Introduction ....................................................3
      1.1. Notational Conventions .....................................3
   2. Reducing WebDAV Response Verbosity with "return=minimal" ........3
      2.1. Minimal PROPFIND and REPORT Responses ......................4
      2.2. Minimal PROPPATCH Response .................................5
      2.3. Minimal MKCALENDAR and MKCOL Responses .....................5
   3. Reducing WebDAV Roundtrips with "return=representation" .........6
      3.1. Successful State-Changing Requests .........................6
      3.2. Unsuccessful Conditional State-Changing Requests ...........6
   4. The "depth-noroot" Processing Preference ........................7
   5. Security Considerations .........................................7
   6. IANA Considerations .............................................8
      6.1. Preference Registration ....................................8
      6.2. Method References ..........................................8
      6.3. Status Code References .....................................9
   7. References ......................................................9
      7.1. Normative References .......................................9
      7.2. Informative References ....................................10
   Appendix A.  The Brief and Extended Depth Header Fields ...........12
   Appendix B.  Examples .............................................12
     B.1.  PROPFIND ..................................................12
     B.2.  REPORT ....................................................16
     B.3.  PROPPATCH .................................................21
     B.4.  MKCOL .....................................................22
     B.5.  POST ......................................................23
     B.6.  PUT .......................................................27
   Acknowledgements ..................................................28
   Author's Address ..................................................28

Murchison                    Standards Track                    [Page 2]
RFC 8144              Prefer Header Field in WebDAV           April 2017

1.  Introduction

   [RFC7240] defines the Prefer header field and the "return=minimal"
   preference, which indicate that a client wishes for the server to
   return a minimal response to a successful request but states that
   what constitutes an appropriate minimal response is left solely to
   the discretion of the server.  Section 2 of this specification
Show full document text