Skip to content

给 daemon 控制面请求加上明确 User-Agent - #9

Merged
earayu merged 1 commit into
mainfrom
feat/daemon-user-agent
Aug 25, 2026
Merged

给 daemon 控制面请求加上明确 User-Agent#9
earayu merged 1 commit into
mainfrom
feat/daemon-user-agent

Conversation

@earayu

@earayu earayu commented Aug 25, 2026

Copy link
Copy Markdown
Collaborator

Python urllib 默认 UA 会被 Cloudflare 打成 1010。控制面请求改成 apemind-computer/0.1.7。不要把这种 403 当成 token 错。

Refs apecloud/aperag-enterprise#4829

Cloudflare 会拦 Python urllib 默认 UA,join 变成 1010。不要把这种 403 当成 token 错。

@khalildai khalildai left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PASS

_api() 带上 User-Agent: apemind-computer/0.1.7。测试钉了请求头。最小修复,403 不当 token 错。可合 main,再打 v0.1.7

@earayu
earayu merged commit 3f7299f into main Aug 25, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants