分享
 
 
 

RFC2088 - IMAP4 non-synchronizing literals

王朝other·作者佚名  2008-05-31
窄屏简体版  字體: |||超大  

Network Working Group J. Myers

Request for Comments: 2088 Carnegie Mellon

Cateogry: Standards Track January 1997

IMAP4 non-synchronizing literals

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.

1. Abstract

The Internet Message Access Protocol [IMAP4] 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.

2. Conventions Used in this Document

In examples, "C:" and "S:" indicate lines sent by the client and

server respectively.

3. Specification

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

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

4. Formal Syntax

The following syntax specification uses the augmented Backus-Naur

Form (BNF) notation as specified in [RFC-822] as modified by [IMAP4].

Non-terminals referenced but not defined below are as defined by

[IMAP4].

literal ::= "{" number ["+"] "}" CRLF *CHAR8

;; Number represents the number of CHAR8 octets

6. References

[IMAP4] Crispin, M., "Internet Message Access Protocol - Version 4",

draft-crispin-imap-base-XX.txt, University of Washington, April 1996.

[RFC-822] Crocker, D., "Standard for the Format of ARPA Internet Text

Messages", STD 11, RFC822.

7. Security Considerations

There are no known security issues with this extension.

8. Author's Address

John G. Myers

Carnegie-Mellon University

5000 Forbes Ave.

Pittsburgh PA, 15213-3890

Email: jgm+@cmu.edu

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
2023年上半年GDP全球前十五强
 百态   2023-10-24
美众议院议长启动对拜登的弹劾调查
 百态   2023-09-13
上海、济南、武汉等多地出现不明坠落物
 探索   2023-09-06
印度或要将国名改为“巴拉特”
 百态   2023-09-06
男子为女友送行,买票不登机被捕
 百态   2023-08-20
手机地震预警功能怎么开?
 干货   2023-08-06
女子4年卖2套房花700多万做美容:不但没变美脸,面部还出现变形
 百态   2023-08-04
住户一楼被水淹 还冲来8头猪
 百态   2023-07-31
女子体内爬出大量瓜子状活虫
 百态   2023-07-25
地球连续35年收到神秘规律性信号,网友:不要回答!
 探索   2023-07-21
全球镓价格本周大涨27%
 探索   2023-07-09
钱都流向了那些不缺钱的人,苦都留给了能吃苦的人
 探索   2023-07-02
倩女手游刀客魅者强控制(强混乱强眩晕强睡眠)和对应控制抗性的关系
 百态   2020-08-20
美国5月9日最新疫情:美国确诊人数突破131万
 百态   2020-05-09
荷兰政府宣布将集体辞职
 干货   2020-04-30
倩女幽魂手游师徒任务情义春秋猜成语答案逍遥观:鹏程万里
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案神机营:射石饮羽
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案昆仑山:拔刀相助
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案天工阁:鬼斧神工
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案丝路古道:单枪匹马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:与虎谋皮
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:李代桃僵
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:指鹿为马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:小鸟依人
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:千金买邻
 干货   2019-11-12
 
推荐阅读
 
 
 
>>返回首頁<<
 
靜靜地坐在廢墟上,四周的荒凉一望無際,忽然覺得,淒涼也很美
© 2005- 王朝網路 版權所有