nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lib/core: Renamed `Text::bytelen` to `Text::byte_length`
[nit.git]
/
lib
/
nitcorn
/
http_response.nit
diff --git
a/lib/nitcorn/http_response.nit
b/lib/nitcorn/http_response.nit
index
08d2968
..
dd3e03b
100644
(file)
--- a/
lib/nitcorn/http_response.nit
+++ b/
lib/nitcorn/http_response.nit
@@
-46,7
+46,7
@@
class HttpResponse
# Set the content length if not already set
if not header.keys.has("Content-Length") then
# Size of the body
- var len = body.bytelen
+ var len = body.byte_length
# Size of included files
for path in files do