mirror of
https://github.com/kataras/iris.git
synced 2025-12-27 23:07:03 +00:00
versioning API: initialize support for grouping
Former-commit-id: 36cf8cd79801e8556f3c7b560f3bd759d9770d67
This commit is contained in:
@@ -27,8 +27,9 @@ var NotFoundHandler = func(ctx context.Context) {
|
||||
This is the appropriate response when the server does not
|
||||
recognize the request method and is not capable of supporting it for any resource.
|
||||
*/
|
||||
ctx.WriteString("version not found")
|
||||
|
||||
ctx.StatusCode(501)
|
||||
ctx.WriteString("version not found")
|
||||
}
|
||||
|
||||
func GetVersion(ctx context.Context) string {
|
||||
|
||||
Reference in New Issue
Block a user