Skip to content

Bug: HTTP header illegal character due to trailing space in uname version #1289

@guozhixin

Description

@guozhixin

What version of Kimi Code CLI is running?

kimi, version 1.16.0

Which open platform/subscription were you using?

/login

Which model were you using?

kimi-for-coding

What platform is your computer?

No response

What issue are you seeing?

kimi-cli 将 platform.uname().version 直接放入 HTTP Header
内核版本字符串 #101~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Feb 11 13:19:54 UTC 以空格结尾
HTTP 协议规定 Header 值不能以空格结尾,导致 h11 库拒绝发送请求

What steps can reproduce the bug?

kimi不能使用

What is the expected behavior?

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions