Add html body
This commit is contained in:
@@ -61,8 +61,10 @@ feature
|
|||||||
data: STRING
|
data: STRING
|
||||||
do
|
do
|
||||||
data := control.render
|
data := control.render
|
||||||
response.put_header ({HTTP_STATUS_CODE}.ok, <<["Content-Type", "text/plain"], ["Content-Length", data.count.out]>>)
|
response.put_header ({HTTP_STATUS_CODE}.ok, <<["Content-Type", "text/html"], ["Content-Length", data.count.out]>>)
|
||||||
|
response.put_string ("<html><head></head><body>")
|
||||||
response.put_string (data)
|
response.put_string (data)
|
||||||
|
response.put_string ("</body></html>")
|
||||||
end
|
end
|
||||||
|
|
||||||
get_parameter (key: STRING): detachable STRING
|
get_parameter (key: STRING): detachable STRING
|
||||||
|
|||||||
Reference in New Issue
Block a user