added use of URL-encoder to unencode the URL values (to fill the parameters)
review design of GW_RESPONSE to hide the output, and remove the header attribute added script_url in REQUEST to help the user build url relative to script_name + cosmetic
This commit is contained in:
@@ -20,8 +20,8 @@ feature {NONE} -- Initialization
|
||||
|
||||
execute (req: GW_REQUEST; res: GW_RESPONSE)
|
||||
do
|
||||
res.output.put_header (200, <<["Content-Type", "text/plain"]>>)
|
||||
res.output.put_string ("Hello World!%N")
|
||||
res.write_header (200, <<["Content-Type", "text/plain"]>>)
|
||||
res.write_string ("Hello World!%N")
|
||||
end
|
||||
|
||||
port_number: INTEGER = 8123
|
||||
|
||||
Reference in New Issue
Block a user