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:
Jocelyn Fiat
2011-07-20 18:27:02 +02:00
parent 51b70a2490
commit 0d363f065b
9 changed files with 203 additions and 204 deletions

View File

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