Use put_ instead of write_

This commit is contained in:
Jocelyn Fiat
2011-12-15 23:52:53 +01:00
parent 37860f43b5
commit c8efa04147

View File

@@ -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