Serg Posted July 12, 2018 Posted July 12, 2018 1. Пишу procedure TUniServerModule.UniGUIServerModuleHTTPCommand( ARequestInfo: TIdHTTPRequestInfo; AResponseInfo: TIdHTTPResponseInfo; var Handled: Boolean); begin if (Pos('/qwe',ARequestInfo.Document)>0) then AResponseInfo.ContentText:='qwe'; end; 2.Запускаю 3.Вызываю http://localhost:8077/qwe 4.Получаю Invalid session or session Timeout. Вопрос: В чем ошибка? Quote
Sherzod Posted July 12, 2018 Posted July 12, 2018 Добрый день, Вы должны установить Handled := True Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.