Cosmetic
fixed various indentations Removed useless dependencies for ewf_ise_wizard project.
This commit is contained in:
@@ -22,13 +22,16 @@ feature -- Access
|
||||
local
|
||||
l_version: WSF_HTTP_PROTOCOL_VERSION
|
||||
do
|
||||
--| This default version just replies True for HTTP/1.0.
|
||||
--| For HTTP/0.9 or other protocols, we hope
|
||||
--| that the connector has already rejected the request. Anyway, a
|
||||
--| proxy server won't help us (? - is that correct?)
|
||||
--| This default version just replies True for HTTP/1.0.
|
||||
--| For HTTP/0.9 or other protocols, we hope
|
||||
--| that the connector has already rejected the request. Anyway, a
|
||||
--| proxy server won't help us (? - is that correct?)
|
||||
create l_version.make (req.server_protocol)
|
||||
if l_version.is_valid and then l_version.major = 1 and then
|
||||
l_version.minor = 0 then
|
||||
if
|
||||
l_version.is_valid and then
|
||||
l_version.major = 1 and then
|
||||
l_version.minor = 0
|
||||
then
|
||||
Result := True
|
||||
end
|
||||
end
|
||||
|
||||
@@ -1,13 +1,12 @@
|
||||
note
|
||||
description: "Summary description for {WSF_ROUTED_SERVICE}."
|
||||
author: ""
|
||||
description: "Summary description for {WSF_ROUTED_SKELETON_SERVICE}."
|
||||
date: "$Date$"
|
||||
revision: "$Revision$"
|
||||
|
||||
deferred class WSF_ROUTED_SKELETON_SERVICE
|
||||
deferred class
|
||||
WSF_ROUTED_SKELETON_SERVICE
|
||||
|
||||
inherit
|
||||
|
||||
WSF_ROUTED_SERVICE
|
||||
redefine
|
||||
execute
|
||||
@@ -252,12 +251,12 @@ feature {NONE} -- Implementation
|
||||
local
|
||||
h: HTTP_HEADER
|
||||
do
|
||||
create h.make
|
||||
h.put_content_type_text_plain
|
||||
h.put_current_date
|
||||
h.put_location (proxy_server (req).string)
|
||||
h.put_content_length (0)
|
||||
res.set_status_code ({HTTP_STATUS_CODE}.use_proxy)
|
||||
create h.make
|
||||
h.put_content_type_text_plain
|
||||
h.put_current_date
|
||||
h.put_location (proxy_server (req).string)
|
||||
h.put_content_length (0)
|
||||
res.set_status_code ({HTTP_STATUS_CODE}.use_proxy)
|
||||
ensure
|
||||
response_status_is_set: res.status_is_set
|
||||
response_code_use_proxy: res.status_code = {HTTP_STATUS_CODE}.use_proxy
|
||||
|
||||
Reference in New Issue
Block a user