applied write_ as put_ renaming to examples

This commit is contained in:
Jocelyn Fiat
2011-12-18 12:55:42 +01:00
parent c8efa04147
commit 6b50ab8c55
3 changed files with 11 additions and 11 deletions

View File

@@ -23,8 +23,8 @@ feature {NONE} -- Initialization
do
-- To send a response we need to setup, the status code and
-- the response headers.
res.write_header ({HTTP_STATUS_CODE}.ok, <<["Content-Type", "text/plain"], ["Content-Length", "11"]>>)
res.write_string ("Hello World")
res.put_header ({HTTP_STATUS_CODE}.ok, <<["Content-Type", "text/plain"], ["Content-Length", "11"]>>)
res.put_string ("Hello World")
end
end