Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[OneBot] Adjusting HTTP code to OneBot standards #692

Merged
merged 1 commit into from
Nov 23, 2024

Conversation

ishkong
Copy link
Collaborator

@ishkong ishkong commented Nov 23, 2024

https://github.com/botuniverse/onebot-11/blob/d4456ee706f9ada9c2dfde56a2bcfc69752600e4/communication/http.md?plain=1#L41

所有的POST content-type不支持都应该返回406,所以哪怕遇到lgr无法处理的,也应该返回406

https://github.com/botuniverse/onebot-11/blob/d4456ee706f9ada9c2dfde56a2bcfc69752600e4/communication/http.md?plain=1#L41
所有的POST content-type不支持都应该返回406,所以哪怕遇到lgr无法处理的,也应该返回406
@CrackTC CrackTC merged commit 5e7072c into master Nov 23, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants