Skip to content

http协议set-cookie header格式不符合mdn文档要求 #2575

Description

@pirDOL

Describe the bug (描述bug)

Set-Cookie - HTTP | MDN

To send multiple cookies, multiple Set-Cookie headers should be sent in the same response.

To Reproduce (复现方法)
使用example/http_c++,server调用多次set-cookie,client只能收到一个set-cookie

Expected behavior (期望行为)
对于set-cookie字段应同时满足http和mdn文档规范要求,否则brpc的http-server会存在功能缺陷

Versions (各种版本)
OS:
Compiler:
brpc:
protobuf:

Additional context/screenshots (更多上下文/截图)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions