mirror of
https://github.com/kataras/iris.git
synced 2025-12-18 10:27:06 +00:00
add iris.IsErrEmptyJSON helper. See HISTORY.md
This commit is contained in:
@@ -47,6 +47,12 @@ func newApp() *iris.Application {
|
||||
// or 202 status code and empty body
|
||||
// or a 409 status code and "my_error" body.
|
||||
app.ConfigureContainer(func(api *iris.APIContainer) {
|
||||
// TODO: fix that test as well.
|
||||
// api.Self.SetExecutionRules(iris.ExecutionRules{
|
||||
// Begin: iris.ExecutionOptions{
|
||||
// Force: true,
|
||||
// },
|
||||
// })
|
||||
api.Use(middleware)
|
||||
api.Post("/{id:int}", handler)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user