Change error response to the same as request text

This commit is contained in:
Dominik Adam Przybysz 2014-12-13 17:49:47 +01:00
parent 0805de459d
commit f72e510fea
3 changed files with 15 additions and 11 deletions

View file

@ -40,7 +40,7 @@ class ContextExecutor {
}
}
ex.sendResponseHeaders(404, 0)
ex.responseBody << "<invalidInput/>"
ex.responseBody << request.text
ex.responseBody.close()
})
}