Returning 404 on invalid server URL

This commit is contained in:
nikhiljindal
2015-04-27 16:15:52 -07:00
parent 83093af8b0
commit f864195a5b
2 changed files with 8 additions and 1 deletions

View File

@@ -363,6 +363,7 @@ func getTestRequests() []struct {
{"GET", "/api", "", code200},
{"GET", "/healthz", "", code200},
{"GET", "/version", "", code200},
{"GET", "/invalidURL", "", code404},
}
return requests
}