in WSF_RESPONSE, put_header' now call put_header_text'
Removed unused local variable
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user