nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ini: Update `package.ini` file
[nit.git]
/
lib
/
popcorn
/
pop_handlers.nit
diff --git
a/lib/popcorn/pop_handlers.nit
b/lib/popcorn/pop_handlers.nit
index
e657d68
..
cd7a380
100644
(file)
--- a/
lib/popcorn/pop_handlers.nit
+++ b/
lib/popcorn/pop_handlers.nit
@@
-431,7
+431,7
@@
redef class HttpResponse
# Write data in body response and send it.
fun send(raw_data: nullable Writable, status: nullable Int) do
if raw_data != null then
- body += raw_data.write_to_string
+ body = raw_data
end
if status != null then
status_code = status