Skip to content

[Feature]: 支持 RFC 9412 :HTTP/3 中的 ORIGIN 扩展(The ORIGIN Extension in HTTP/3) #831

Description

@qisefengzheng

Before request a new feature

  • I have searched the issues of this repository and believe that this is not a duplicate.

Describe the feature you'd like supported

RFC 9412 的全称是《HTTP/3 中的 ORIGIN 扩展》(The ORIGIN Extension in HTTP/3),它是一个互联网标准跟踪文档(Standards Track)。

它的核心作用可以概括为一句话:为 HTTP/3 协议定义了 ORIGIN 帧(frame)。

具体来说,它做了以下几件事:

  1. 核心功能:将 ORIGIN 帧迁移至 HTTP/3
    在 HTTP/2 中,ORIGIN 帧的作用是让服务器告知客户端,当前连接可以服务于哪些“源”(origin)。这个功能在 HTTP/3 中同样有用,但需要为其单独定义一个新的帧类型。RFC 9412 的任务,就是在 HTTP/3 中正式定义这个 ORIGIN 帧。

  2. 技术细节:定义 ORIGIN HTTP/3 帧
    文档具体描述了 ORIGIN HTTP/3 帧的格式和语义。这个帧允许服务器向客户端表明,它希望客户端将哪些源视为当前连接所属“源集合”(Origin Set)的成员。其帧载荷(payload)的语义与 HTTP/2 中定义的 ORIGIN 帧完全相同。

  3. 背景和状态
    发布时间:2023年6月。
    发布机构:由互联网工程任务组(IETF)的 HTTP 工作组制定。
    作者:来自 Akamai 公司的 M. Bishop。
    标准状态:已批准为“提议标准”(Proposed Standard)。
    总的来说,RFC 9412 确保了 ORIGIN 这一在 HTTP/2 中用于连接与源归属关系的重要机制,能够平滑地延续到新一代的 HTTP/3 协议中,是 HTTP/3 扩展框架中的一个基础性标准。

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions