Updating EWSGI specification classes

This commit is contained in:
Jocelyn Fiat
2012-03-19 15:06:50 +01:00
parent fea0f115a0
commit 3432e2d8b2
10 changed files with 413 additions and 526 deletions

View File

@@ -1,5 +1,8 @@
note
description: "Summary description for {WGI_SERVICE}."
description: "[
WGI_SERVICE
]"
specification: "EWSGI specification https://github.com/Eiffel-World/Eiffel-Web-Framework/wiki/EWSGI-specification"
legal: "See notice at end of class."
status: "See notice at end of class."
date: "$Date$"
@@ -8,23 +11,22 @@ note
deferred class
WGI_SERVICE
feature {NONE} -- Execution
feature {WGI_CONNECTOR} -- Execution
execute (req: WGI_REQUEST; res: WGI_RESPONSE)
-- Execute the request
-- See `req.input' for input stream
-- `req.environment' for the Gateway environment
-- and `res' for the output buffer
-- `req.meta_variables' for the CGI meta variable
-- and `res' for output buffer
require
res_status_unset: not res.status_is_set
deferred
ensure
res_status_set: res.status_is_set
res_committed: res.message_committed
end
note
copyright: "2011-2011, Eiffel Software and others"
copyright: "2011-2012, Jocelyn Fiat, Javier Velilla, Eiffel Software and others"
license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
source: "[
Eiffel Software
@@ -33,4 +35,5 @@ note
Website http://www.eiffel.com
Customer support http://support.eiffel.com
]"
end