nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge: doc: fixed some typos and other misc. corrections
[nit.git]
/
lib
/
nitcorn
/
file_server.nit
diff --git
a/lib/nitcorn/file_server.nit
b/lib/nitcorn/file_server.nit
index
a9ef5f6
..
96293f6
100644
(file)
--- a/
lib/nitcorn/file_server.nit
+++ b/
lib/nitcorn/file_server.nit
@@
-125,7
+125,7
@@
class FileServer
if response.status_code != 200 then
var tmpl = error_page(response.status_code)
if header != null and tmpl isa ErrorTemplate then tmpl.header = header
- response.body = tmpl.to_s
+ response.body = tmpl
end
return response