Serg Posted July 12, 2018 Share 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. Вопрос: В чем ошибка? Link to comment Share on other sites More sharing options...
Sherzod Posted July 12, 2018 Share Posted July 12, 2018 Добрый день, Вы должны установить Handled := True Link to comment Share on other sites More sharing options...
Serg Posted July 12, 2018 Author Share Posted July 12, 2018 Спасибо Link to comment Share on other sites More sharing options...
Serg Posted July 12, 2018 Author Share Posted July 12, 2018 Спасибо! Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now