forked from grpc-ecosystem/grpc-gateway
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mux: calculate verb correctly for cases like DELETE /foo/bar:archive …
…when user provided wrong method (grpc-ecosystem#2870) * add failing test for DELETE /foo/bar:archive when method is wrong The method the user meant was POST, which is supported. DELETE is not supported, but I believe this should be NotImplemented, not NotFound. * calculate verb in each handler
- Loading branch information
1 parent
660400c
commit 6efdab1
Showing
2 changed files
with
30 additions
and
6 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