lib/nitcorn: intro `HttpResponse::files` to append files
[nit.git] / lib / nitcorn / reactor.nit
index 8124f97..4b13677 100644 (file)
@@ -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