mirror of
https://github.com/snail007/goproxy.git
synced 2026-04-27 08:25:54 +03:00
[GH-ISSUE #470] API认证返回失败HTTP状态码能否支持自定义 #373
Labels
No labels
TODO
bug
duplicate
enhancement
good first issue
help wanted
helpful
invalid
need-confirm
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/goproxy#373
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @willgeek on GitHub (Mar 5, 2022).
Original GitHub issue: https://github.com/snail007/goproxy/issues/470
目前API认证返回HTTP状态码204,代表认证成功,其它情况认为认证失败会部返回407,
可不可以自定义返回错误代码?比如会员到期了返回402,超出请求并发数返回429等。