Change 501 errors to 405 (#80)
* Unimplemented errors should result in a 405 instead of a 501.
This commit is contained in:
1 parent
44152ae63e
commit
6dd083fa42
2 files changed
+5
-1
No files matched your search
@@ -41,7 +41,7 @@ func TestHandleGrpcGateway(t *testing.T) {
|
||||
{
|
||||
"Unimplemented path",
|
||||
"v1/orgs/1/projects/2/host-catalogs/3/host-sets/4",
|
||||
http.StatusNotImplemented,
|
||||
http.StatusMethodNotAllowed,
|
||||
},
|
||||
}
|
||||
for _, tc := range cases {
|
||||
|
||||
Reference in new issue
Block a user