2088
PROPOSED STANDARD
IMAP4 non-synchronizing literals (Obsoleted)
Authors: J. Myers
Date: January 1997
Stream: Legacy
Abstract
The Internet Message Access Protocol [STANDARDS-TRACK]
RFC 2088
Obsoleted by: 7888 PROPOSED STANDARD
Updated by: 4466
Network Working Group J. Myers
Request for Comments: 2088 Carnegie Mellon
Cateogry: Standards Track January 1997
<span class="h1">IMAP4 non-synchronizing literals</span>
Status of this Memo
This document specifies an Internet standards track protocol for the
Internet community, and requests discussion and suggestions for
improvements. Please refer to the current edition of the "Internet
Official Protocol Standards" (STD 1) for the standardization state
and status of this protocol. Distribution of this memo is unlimited.
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>. Abstract</span>
The Internet Message Access Protocol [<a href="#ref-IMAP4" title=""Internet Message Access Protocol - Version 4"">IMAP4</a>] contains the "literal"
syntactic construct for communicating strings. When sending a
literal from client to server, IMAP4 requires the client to wait for
the server to send a command continuation request between sending the
octet count and the string data. This document specifies an
alternate form of literal which does not require this network round
trip.
<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>. Conventions Used in this Document</span>
In examples, "C:" and "S:" indicate lines sent by the client and
server respectively.
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. Specification</span>
The non-synchronizing literal is added an alternate form of literal,
and may appear in communication from client to server instead of the
IMAP4 form of literal. The IMAP4 form of literal, used in
communication from client to server, is referred to as a
synchronizing literal.
Non-synchronizing literals may be used with any IMAP4 server
implementation which returns "LITERAL+" as one of the supported
capabilities to the CAPABILITY command. If the server does not
advertise the LITERAL+ capability, the client must use synchronizing
literals instead.
The non-synchronizing literal is distinguished from the original
synchronizing literal by having a plus ('+') between the octet count
and the closing brace ('}'). The server does not generate a command
continuation request in response to a non-synchronizing literal, and
<span class="grey">Myers Standards Track [Page 1]</span>
<span id="page-2" ></span>
<span class="grey"><a href="./rfc2088">RFC 2088</a> LITERAL January 1997</span>
clients are not required to wait before sending the octets of a non-
synchronizing literal.
The protocol receiver of an IMAP4 server must check the end of every
received line for an open brace ('{') followed by an octet count, a
plus ('+'), and a close brace ('}') immediately preceeding the CRLF.
If it finds this sequence, it is the octet count of a non-
synchronizing literal and the server MUST treat the specified number
of following octets and the following line as part of the same
command. A server MAY still process commands and reject errors on a
line-by-line basis, as long as it checks for non-synchronizing
literals at the end of each line.
Example: C: A001 LOGIN {11+}
C: FRED FOOBAR {7+}
C: fat man
S: A001 OK LOGIN completed
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>. Formal Syntax</span>
The following syntax specification uses the augmented Backus-Naur
Form (BNF) notation as specified in [<a href="./rfc822" title=""Standard for the Format of ARPA Internet Text Messages"">RFC-822</a>] as modified by [<a href="#ref-IMAP4" title=""Internet Message Access Protocol - Version 4"">IMAP4</a>].
Non-terminals referenced but not defined below are as defined by
[<a href="#ref-IMAP4" title=""Internet Message Access Protocol - Version 4"">IMAP4</a>].
literal ::= "{" number ["+"] "}" CRLF *CHAR8
;; Number represents the number of CHAR8 octets
<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a>. References</span>
[<a id="ref-IMAP4">IMAP4</a>] Crispin, M., "Internet Message Access Protocol - Version 4",
<a href="./draft-crispin-imap-base-XX.txt">draft-crispin-imap-base-XX.txt</a>, University of Washington, April 1996.
[<a id="ref-RFC-822">RFC-822</a>] Crocker, D., "Standard for the Format of ARPA Internet Text
Messages", STD 11, <a href="./rfc822">RFC 822</a>.
<span class="h2"><a class="selflink" id="section-7" href="#section-7">7</a>. Security Considerations</span>
There are no known security issues with this extension.
<span class="h2"><a class="selflink" id="section-8" href="#section-8">8</a>. Author's Address</span>
John G. Myers
Carnegie-Mellon University
5000 Forbes Ave.
Pittsburgh PA, 15213-3890
Email: [email protected]
Myers Standards Track [Page 2]
Annotations
Select text to annotate