mirror of
https://github.com/Finb/Bark.git
synced 2026-04-26 06:25:55 +03:00
[GH-ISSUE #176] 添加带 Base Auth 的自定义服务器 URL 时,无法识别 #157
Labels
No labels
bug
enhancement
in progress
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Bark#157
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 @bekcpear on GitHub (Dec 2, 2022).
Original GitHub issue: https://github.com/Finb/Bark/issues/176
类似添加
https://user:password@bark.domain.com/prefix这样的地址,报告服务器端能收到请求,回复 code
418,怀疑前缀的user:password未生效,查 Moya 文档,得到 Base auth 需要使用CredentialsPlugin( https://github.com/Moya/Moya/blob/master/docs/Authentication.md ),不知是否正确。@Finb commented on GitHub (Dec 2, 2022):
https://bark.domain.com/prefix 直接这样加,不用加验证,注册不需要验证。
@bekcpear commented on GitHub (Dec 2, 2022):
直接这样子加,它会请求
https://bark.domain.com/prefix/ping这个地址,然后失败,就添加不了 server