mirror of
https://github.com/Finb/Bark.git
synced 2026-04-26 06:25:55 +03:00
[GH-ISSUE #172] GET请求Content-Type设置为application/json时报错 #154
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#154
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 @shinciao on GitHub (Oct 28, 2022).
Original GitHub issue: https://github.com/Finb/Bark/issues/172
为某第三方系统接入 bark 推送时发现该系统会对 GET 请求添加 Content-Type: application/json 的请求头。
Bark收到请求后会返回 400 错误 request bind failed: json: unexpected end of JSON input
希望兼容这种有 Content-Type: application/json 的请求头,但无 body 的情况。