Fixed agent handler for rest library
This commit is contained in:
@@ -42,7 +42,15 @@ feature -- Execution
|
|||||||
|
|
||||||
execute (ctx: C; req: WGI_REQUEST; res: WGI_RESPONSE_BUFFER)
|
execute (ctx: C; req: WGI_REQUEST; res: WGI_RESPONSE_BUFFER)
|
||||||
do
|
do
|
||||||
|
if
|
||||||
|
authentication_required (req) and then not authenticated (ctx)
|
||||||
|
then
|
||||||
|
execute_unauthorized (ctx, req, res)
|
||||||
|
else
|
||||||
|
pre_execute (ctx, req, res)
|
||||||
Precursor {REQUEST_AGENT_HANDLER} (ctx, req, res)
|
Precursor {REQUEST_AGENT_HANDLER} (ctx, req, res)
|
||||||
|
post_execute (ctx, req, res)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
execute_application (ctx: C; req: WGI_REQUEST; res: WGI_RESPONSE_BUFFER)
|
execute_application (ctx: C; req: WGI_REQUEST; res: WGI_RESPONSE_BUFFER)
|
||||||
|
|||||||
Reference in New Issue
Block a user