-
Notifications
You must be signed in to change notification settings - Fork 554
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add exception for HTTP clients that set a content-type when there is …
…no body (#2599) * fix(xrpc-server): add exception for HTTP clients that set a content-type when there is no body * feat(xrpc-server): allow empty body on endpoints not expecting any input Co-authored-by: Devin Ivy <devinivy@gmail.com> * fix(xrpc-server): properly test empty body requests * tidy --------- Co-authored-by: Devin Ivy <devinivy@gmail.com>
- Loading branch information
1 parent
aed98cc
commit fc10881
Showing
2 changed files
with
22 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters