in WSF_RESPONSE, put_header' now call put_header_text'

Removed unused local variable
This commit is contained in:
Jocelyn Fiat
2012-03-21 14:49:09 +01:00
parent 95c3bbf6e5
commit ac9cbb0bd2
2 changed files with 2 additions and 3 deletions

View File

@@ -244,8 +244,6 @@ feature -- Access: global variable
-- Variable named `a_name' from any of the variables container -- Variable named `a_name' from any of the variables container
-- and following a specific order -- and following a specific order
-- execution, environment, get, post, cookies -- execution, environment, get, post, cookies
local
v: detachable WSF_VALUE
do do
Result := meta_variable (a_name) Result := meta_variable (a_name)
if Result = Void then if Result = Void then

View File

@@ -87,6 +87,7 @@ feature -- Header output operation
wgi_response.put_header_text (a_headers) wgi_response.put_header_text (a_headers)
ensure ensure
status_set: status_is_set status_set: status_is_set
status_committed: status_committed
header_committed: header_committed header_committed: header_committed
message_writable: message_writable message_writable: message_writable
end end
@@ -102,7 +103,7 @@ feature -- Header output operation
set_status_code (a_status_code) set_status_code (a_status_code)
if a_headers /= Void then if a_headers /= Void then
create h.make_from_array (a_headers) create h.make_from_array (a_headers)
wgi_response.put_header_text (h.string) put_header_text (h.string)
end end
ensure ensure
header_committed: header_committed header_committed: header_committed