Fixed example due to recent interface changes
This commit is contained in:
@@ -21,7 +21,7 @@ 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.write_header_lines (<<["Content-Type", "text/plain"]>>)
|
||||||
res.write_string ("Hello World!%N")
|
res.write_string ("Hello World!%N")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user