methodiHttpRequestHandler.HandleRequest
procedure HandleRequest(const aRequest: iHttpRequest; const aResponse: iHttpResponse);
Answer aRequest by filling in aResponse. Both are valid ONLY until this returns - see iHttpRequest for the lifetime and threading rules, which are the two things that catch people out. Returning without touching aResponse answers 404, which is usually the right thing for a handler that decided the request was not for it. Raising is caught and answered 500, so failing loudly is safe; failing slowly is not, because this runs on an I/O thread.