【Translation】Use of the Content-Disposition Header Field in the Hypertext Transfer Protocol (HTTP)

Use of the Content-Disposition Header Field in the
Hypertext Transfer Protocol (HTTP)

譯者:Danteshell
校對(duì):待定

Abstract

RFC 2616 defines the Content-Disposition response header field, but points out that it is not part of the HTTP/1.1 Standard. This specification takes over the definition and registration of Content-Disposition, as used in HTTP, and clarifies internationalization aspects.

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 5741.

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/rfc6266.

Copyright Notice
Copyright (c) 2011 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 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.

摘要

RFC 2616 定義了Content-Disposition 響應(yīng)header域, 但是特別要指出的是阅仔,它并不屬于HTTP/1.1 標(biāo)準(zhǔn)摘盆。這個(gè)規(guī)則取代了Content-Disposition的定義和注冊(cè)箱吕,也被用于http中峻汉,并闡述了其國(guó)際化的方面封寞。

文檔狀態(tài)

這是一個(gè)英特網(wǎng)標(biāo)準(zhǔn)路線文檔友扰。

該文檔由英特網(wǎng)工程任務(wù)部(IETF)制定农猬,它獲得了IETF委員會(huì)的一致通過(guò)楞抡。它已通過(guò)公開審查,并由英特網(wǎng)工程指導(dǎo)組(IESG)批準(zhǔn)出版理张。更多信息詳見RFC 5741第2部分赫蛇。

關(guān)于該文檔目前狀態(tài)的信息、勘誤表以及反饋提交方式請(qǐng)戳http://www.rfc-editor.org/info/rfc6266雾叭。

版權(quán)所有
版權(quán)(c)2011 IETF Trust 確定為文檔作者所有悟耘,并保留所有權(quán)利。
這個(gè)文件是受BCP 78和IETF信托的法律規(guī)定中有關(guān)IETF文件织狐,并在本文件發(fā)布之日產(chǎn)生法律效益暂幼。請(qǐng)仔細(xì)查看這些文件,即本文描述的使用者的權(quán)利和應(yīng)遵守的限制規(guī)則移迫。如文本4節(jié)中信托的法律規(guī)定所述旺嬉,代碼組件提取該文件必須包括簡(jiǎn)化BSD許可協(xié)議,未經(jīng)授權(quán)的簡(jiǎn)化描述為BSD許可證厨埋。

Introduction
RFC 2616 defines the Content-Disposition response header field(Section 19.5.1 of [RFC2616]) but points out that it is not part of the HTTP/1.1 Standard (Section 15.5):

Content-Disposition is not part of the HTTP standard, but since it is widely implemented, we are documenting its use and risks for implementers.

This specification takes over the definition and registration of Content-Disposition, as used in HTTP. Based on interoperability testing with existing user agents (UAs), it fully defines a profile of the features defined in the Multipurpose Internet Mail Extensions (MIME) variant ([RFC2183]) of the header field, and also clarifies internationalization aspects.

介紹
RFC 2616 定義了Content-Disposition響應(yīng)頭域[RFC2616 ]的[第19.5.1部分])邪媳,卻指出這不是HTTP/1.1標(biāo)準(zhǔn)的一部分。

Content-Disposition并不是HTTP標(biāo)準(zhǔn)的一部分,但由于它的廣泛實(shí)施雨效,我們正記錄它的使用情況以及實(shí)現(xiàn)的風(fēng)險(xiǎn)迅涮。

當(dāng)Content-Disposition使用于HTTP時(shí),這項(xiàng)說(shuō)明取代了其的定義和注冊(cè)徽龟《9茫基于與existing user agents (UAs)的互操作性測(cè)試,它完全定義了Multipurpose Internet Mail Extensions (Internet郵件擴(kuò)展定義顿肺,MIME)的變異([ rfc2183 ])的頭字段的所有特征的輪廓戏溺,并闡明了國(guó)際化方面。

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
  • 序言:七十年代末屠尊,一起剝皮案震驚了整個(gè)濱河市旷祸,隨后出現(xiàn)的幾起案子,更是在濱河造成了極大的恐慌讼昆,老刑警劉巖托享,帶你破解...
    沈念sama閱讀 218,451評(píng)論 6 506
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件,死亡現(xiàn)場(chǎng)離奇詭異浸赫,居然都是意外死亡闰围,警方通過(guò)查閱死者的電腦和手機(jī),發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 93,172評(píng)論 3 394
  • 文/潘曉璐 我一進(jìn)店門既峡,熙熙樓的掌柜王于貴愁眉苦臉地迎上來(lái)羡榴,“玉大人,你說(shuō)我怎么就攤上這事运敢⌒B兀” “怎么了?”我有些...
    開封第一講書人閱讀 164,782評(píng)論 0 354
  • 文/不壞的土叔 我叫張陵传惠,是天一觀的道長(zhǎng)迄沫。 經(jīng)常有香客問(wèn)我,道長(zhǎng)卦方,這世上最難降的妖魔是什么羊瘩? 我笑而不...
    開封第一講書人閱讀 58,709評(píng)論 1 294
  • 正文 為了忘掉前任,我火速辦了婚禮盼砍,結(jié)果婚禮上尘吗,老公的妹妹穿的比我還像新娘。我一直安慰自己浇坐,他們只是感情好摇予,可當(dāng)我...
    茶點(diǎn)故事閱讀 67,733評(píng)論 6 392
  • 文/花漫 我一把揭開白布。 她就那樣靜靜地躺著吗跋,像睡著了一般。 火紅的嫁衣襯著肌膚如雪。 梳的紋絲不亂的頭發(fā)上跌宛,一...
    開封第一講書人閱讀 51,578評(píng)論 1 305
  • 那天酗宋,我揣著相機(jī)與錄音,去河邊找鬼疆拘。 笑死蜕猫,一個(gè)胖子當(dāng)著我的面吹牛,可吹牛的內(nèi)容都是我干的哎迄。 我是一名探鬼主播回右,決...
    沈念sama閱讀 40,320評(píng)論 3 418
  • 文/蒼蘭香墨 我猛地睜開眼,長(zhǎng)吁一口氣:“原來(lái)是場(chǎng)噩夢(mèng)啊……” “哼漱挚!你這毒婦竟也來(lái)了翔烁?” 一聲冷哼從身側(cè)響起,我...
    開封第一講書人閱讀 39,241評(píng)論 0 276
  • 序言:老撾萬(wàn)榮一對(duì)情侶失蹤旨涝,失蹤者是張志新(化名)和其女友劉穎蹬屹,沒想到半個(gè)月后,有當(dāng)?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體白华,經(jīng)...
    沈念sama閱讀 45,686評(píng)論 1 314
  • 正文 獨(dú)居荒郊野嶺守林人離奇死亡慨默,尸身上長(zhǎng)有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點(diǎn)故事閱讀 37,878評(píng)論 3 336
  • 正文 我和宋清朗相戀三年,在試婚紗的時(shí)候發(fā)現(xiàn)自己被綠了弧腥。 大學(xué)時(shí)的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片厦取。...
    茶點(diǎn)故事閱讀 39,992評(píng)論 1 348
  • 序言:一個(gè)原本活蹦亂跳的男人離奇死亡,死狀恐怖管搪,靈堂內(nèi)的尸體忽然破棺而出虾攻,到底是詐尸還是另有隱情,我是刑警寧澤抛蚤,帶...
    沈念sama閱讀 35,715評(píng)論 5 346
  • 正文 年R本政府宣布台谢,位于F島的核電站,受9級(jí)特大地震影響岁经,放射性物質(zhì)發(fā)生泄漏朋沮。R本人自食惡果不足惜,卻給世界環(huán)境...
    茶點(diǎn)故事閱讀 41,336評(píng)論 3 330
  • 文/蒙蒙 一缀壤、第九天 我趴在偏房一處隱蔽的房頂上張望樊拓。 院中可真熱鬧,春花似錦塘慕、人聲如沸筋夏。這莊子的主人今日做“春日...
    開封第一講書人閱讀 31,912評(píng)論 0 22
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽(yáng)条篷。三九已至骗随,卻和暖如春,著一層夾襖步出監(jiān)牢的瞬間赴叹,已是汗流浹背鸿染。 一陣腳步聲響...
    開封第一講書人閱讀 33,040評(píng)論 1 270
  • 我被黑心中介騙來(lái)泰國(guó)打工, 沒想到剛下飛機(jī)就差點(diǎn)兒被人妖公主榨干…… 1. 我叫王不留乞巧,地道東北人涨椒。 一個(gè)月前我還...
    沈念sama閱讀 48,173評(píng)論 3 370
  • 正文 我出身青樓,卻偏偏與公主長(zhǎng)得像绽媒,于是被迫代替她去往敵國(guó)和親蚕冬。 傳聞我的和親對(duì)象是個(gè)殘疾皇子,可洞房花燭夜當(dāng)晚...
    茶點(diǎn)故事閱讀 44,947評(píng)論 2 355

推薦閱讀更多精彩內(nèi)容