From 859a13ae517c370c9416a0ff428d66ef3440e4ad Mon Sep 17 00:00:00 2001 From: Jocelyn Fiat Date: Tue, 18 Jun 2013 15:29:07 +0200 Subject: [PATCH] Cosmetic, improve readability of conditions --- .../server/wsf/router/wsf_routed_skeleton_service.e | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/library/server/wsf/router/wsf_routed_skeleton_service.e b/library/server/wsf/router/wsf_routed_skeleton_service.e index 48284652..45fd8975 100644 --- a/library/server/wsf/router/wsf_routed_skeleton_service.e +++ b/library/server/wsf/router/wsf_routed_skeleton_service.e @@ -30,10 +30,15 @@ feature -- Execution handle_unavailable (res) elseif requires_proxy (req) then handle_use_proxy (req, res) - elseif maximum_uri_length > 0 and then req.request_uri.count.to_natural_32 > maximum_uri_length then + elseif + maximum_uri_length > 0 and then + req.request_uri.count.to_natural_32 > maximum_uri_length + then handle_request_uri_too_long (res) - elseif req.is_request_method ({HTTP_REQUEST_METHODS}.method_options) and then - req.request_uri.same_string ("*") then + elseif + req.is_request_method ({HTTP_REQUEST_METHODS}.method_options) and then + req.request_uri.same_string ("*") + then handle_server_options (req, res) else create l_sess