07-31-2024, 07:14 AM
(07-17-2024, 10:11 PM)Mario Villalba Wrote: Hello Alexandre.
You could modify the response code in the "IWServerControllerBaseExecuteRequest" event. When processing the request, if any exception is given, I need to return code 500. By directly assigning Response.Code := 500; It gives me the error 'Reply type already set.'.[/font][/size]
Hi Mario,
I'm not sure if I follow.
Are you trapping the exception and directly assigning Response.Code := 500 or letting the exeption flow?