Verify content type on getRoute method

This commit is contained in:
Héctor Hurtado
2019-10-25 09:02:36 +02:00
parent 56876335b7
commit 26a7b690b7
2 changed files with 21 additions and 1 deletions
-1
View File
@@ -86,7 +86,6 @@ func addRoute(res http.ResponseWriter, req *http.Request) {
return
}
if route.Method == "" {
spec / test / features / control / get / success.feature
res.WriteHeader(http.StatusUnprocessableEntity)
return
}