Merged REQUEST and ENVIRONMENT into REQUEST

renamed ENVIRONMENT_NAMES into META_NAMES
better usage of READABLE_STRING_GENERAL, and other strings
abstract RESPONSE_BUFFER in implementation of EWSGI
for the implementation, inheriting from deferred specification (more to come later)
This commit is contained in:
Jocelyn Fiat
2011-08-25 14:41:35 +02:00
parent 4d0148d562
commit f6b362217c
34 changed files with 1275 additions and 2366 deletions

View File

@@ -35,7 +35,7 @@ feature -- Status report
deferred
end
feature {NONE} -- Core output operation
feature {EWSGI_RESPONSE_BUFFER} -- Core output operation
write (s: STRING)
-- Send the string `s'
@@ -77,6 +77,7 @@ feature -- Header output operation
ensure
status_set: status_is_set
header_committed: header_committed
message_writable: message_writable
end
write_header (a_status_code: INTEGER; a_headers: detachable ARRAY [TUPLE [key: STRING; value: STRING]])
@@ -88,6 +89,7 @@ feature -- Header output operation
ensure
header_committed: header_committed
status_set: status_is_set
message_writable: message_writable
end
feature -- Output operation
@@ -117,7 +119,7 @@ feature -- Output operation
-- Flush if it makes sense
deferred
end
note
copyright: "2011-2011, Eiffel Software and others"
license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"