mirror of
https://github.com/kataras/iris.git
synced 2026-01-04 10:47:20 +00:00
Update to version 8.5.0 | NEW: MVC Output Result | Read HISTORY.md
Former-commit-id: 6a3579f2500fc715d7dc606478960946dcade61d
This commit is contained in:
@@ -101,7 +101,7 @@ func (t *Transaction) Complete(err error) {
|
||||
if err != nil {
|
||||
t.hasError = true
|
||||
|
||||
statusCode := 504 // bad request
|
||||
statusCode := 400 // bad request
|
||||
reason := err.Error()
|
||||
cType := "text/plain; charset=" + t.context.Application().ConfigurationReadOnly().GetCharset()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user