removed the notion of status from GW_HEADER, since it should not be part of the HTTP header

added status setting in GW_RESPONSE
added a default implementation for write_status in OUTPUT_STREAM
  (it should be moved away in the future)
removed any implementation from GW_REQUEST, and put it in GW_REQUEST_IMP
This commit is contained in:
Jocelyn Fiat
2011-07-27 14:51:47 +02:00
parent 65800371cd
commit 4075b08b7e
8 changed files with 259 additions and 193 deletions

View File

@@ -48,6 +48,7 @@ feature -- Content type
feature -- Server
http_version_1_0: STRING = "HTTP/1.0"
http_version_1_1: STRING = "HTTP/1.1"
http_host_header: STRING = "Host"
http_authorization_header: STRING = "Authorization: "
http_end_of_header_line: STRING = "%R%N"
@@ -85,7 +86,7 @@ feature -- Misc
note
copyright: "Copyright (c) 1984-2011, Eiffel Software and others"
copyright: "2011-2011, Eiffel Software and others"
license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
source: "[
Eiffel Software