Remove content length

This commit is contained in:
YNH Webdev
2013-08-27 16:45:50 +02:00
parent 0c0fb5c9c8
commit 1a1df35ff1

View File

@@ -61,7 +61,7 @@ feature
data: STRING data: STRING
do do
data := control.render data := control.render
response.put_header ({HTTP_STATUS_CODE}.ok, <<["Content-Type", "text/html"], ["Content-Length", data.count.out]>>) response.put_header ({HTTP_STATUS_CODE}.ok, <<["Content-Type", "text/html"]>>)
response.put_string ("<html><head></head><body>") response.put_string ("<html><head></head><body>")
response.put_string (data) response.put_string (data)
response.put_string ("</body></html>") response.put_string ("</body></html>")