Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

解决沉浸式翻译使用 /v1/translate端点时传入多余cookie导致dl_session错误设置的问题 #148

Closed
wants to merge 1 commit into from

Conversation

luzov
Copy link

@luzov luzov commented Oct 24, 2024

沉浸式翻译会传入请求头:

Accept: */*
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.9
Content-Length: 60
Cookie: psession=327fdbc7-c5e6-4df6-92c7-43b1781683b0
Host: "127.0.0.1:11888"
Origin: "chrome-extension://bpoadfkcbjbfhfodiogcnhhhpibjhbnh"
Proxy-Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36
content-type: application/json

之前的cookie读取方式会导致dl_session错误变更导致503

@luzov luzov closed this Oct 28, 2024
@luzov luzov deleted the feature/bug_fix_241024 branch October 28, 2024 12:54
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.

1 participant