fixed various indentations
Removed useless dependencies for ewf_ise_wizard project.
This commit is contained in:
2013-04-05 12:12:26 +02:00
parent aee512a316
commit 5fc34d947a
3 changed files with 18 additions and 17 deletions

View File

@@ -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

View File

@@ -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