Feature Request: function to detect a valid Token
还没有人认领这个 Issue。
评估
调研方向
首先检查 httpsfv 现有的 token 解析和序列化入口。添加一种公开方式来确定 Go 字符串是否为有效的 RFC token,并验证有效和无效的 token 字符串是否与库现有的行为一致地加以区分。
由索引模型根据 Issue 内容生成。
描述
I have a case where the RFC I'm implementing defines a value as "either a String or a Token". I suppose I could always use String, but it would be nice to have a function in httpsfv to tell me whether a Go string is a valid Token so that I could cast it accordingly.
- 主要语言
- Go
- 星标
- 75
- 派生
- 11
- 平均合并
- 7 天 11 小时
- 30 天内合并 PR
- 1
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
-
难度 1/5 1 小时以内 新手友好度 84/100
-
enhancement needs triage
难度 2/5 1-3 小时 新手友好度 68/100
-
kind/cleanup
难度 2/5 1-3 小时 新手友好度 88/100
kubernetes-sigs/kueue#15947 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
sympozium-ai/sympozium#627 ·