Merged
Conversation
added 3 commits
October 16, 2025 19:00
支持同时从cookie的sid字段和请求头的X-SID字段获取会话id,优先使用请求头中的值
添加三个测试用例验证转发认证功能: 1. 测试通过 cookie 中的 sid 进行认证 2. 测试优先使用请求头中的 X-SID 进行认证 3. 测试没有提供 sid 时不会调用认证服务
swpfY
reviewed
Oct 16, 2025
为相关的测试函数添加注释
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
功能添加
X-SID获取会话ID的功能,优先级高于 cookie 中的sid测试添加
文档更新
Close #27