Cosmetic
This commit is contained in:
@@ -14,7 +14,7 @@ feature -- Execute template
|
||||
local
|
||||
m: READABLE_STRING_8
|
||||
do
|
||||
m := req.request_method
|
||||
m := req.request_method.as_upper
|
||||
if m.same_string ("GET") then
|
||||
execute_get (ctx, req, res)
|
||||
elseif m.same_string ("PUT") then
|
||||
@@ -33,6 +33,7 @@ feature -- Execute template
|
||||
execute_connect (ctx, req, res)
|
||||
else
|
||||
--| Eventually handle other methods...
|
||||
execute_extension_method (ctx, req, res)
|
||||
end
|
||||
rescue
|
||||
handle_internal_server_error ("Internal Server Error", ctx, req, res)
|
||||
@@ -151,7 +152,7 @@ feature -- Method Extension Method
|
||||
|
||||
do_extension_method (ctx: C; req: WGI_REQUEST; res: WGI_RESPONSE_BUFFER)
|
||||
do
|
||||
handle_not_implemented ("Method EXTENSION method not implemented", ctx, req, res)
|
||||
handle_not_implemented ("Method extension-method not implemented", ctx, req, res)
|
||||
end
|
||||
|
||||
feature -- Handle responses
|
||||
|
||||
Reference in New Issue
Block a user