Use put_ instead of write_
This commit is contained in:
@@ -21,8 +21,8 @@ feature {NONE} -- Initialization
|
|||||||
execute (req: WGI_REQUEST; res: WGI_RESPONSE)
|
execute (req: WGI_REQUEST; res: WGI_RESPONSE)
|
||||||
do
|
do
|
||||||
res.set_status_code (200)
|
res.set_status_code (200)
|
||||||
res.write_header_lines (<<["Content-Type", "text/plain"]>>)
|
res.put_header_lines (<<["Content-Type", "text/plain"]>>)
|
||||||
res.write_string ("Hello World!%N")
|
res.put_string ("Hello World!%N")
|
||||||
end
|
end
|
||||||
|
|
||||||
port_number: INTEGER = 8123
|
port_number: INTEGER = 8123
|
||||||
|
|||||||
Reference in New Issue
Block a user