nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lib/nitcorn: intro `HttpResponse::files` to append files
[nit.git]
/
lib
/
nitcorn
/
reactor.nit
diff --git
a/lib/nitcorn/reactor.nit
b/lib/nitcorn/reactor.nit
index
8124f97
..
4b13677
100644
(file)
--- a/
lib/nitcorn/reactor.nit
+++ b/
lib/nitcorn/reactor.nit
@@
-85,6
+85,8
@@
class HttpServer
# Send back a response
write response.to_s
+ for path in response.files do write_file path
+
close
end
end