hoWantProtocolErrorContent, - Printable Version +- Atozed Forums (https://www.atozed.com/forums) +-- Forum: Atozed Software Products (https://www.atozed.com/forums/forum-1.html) +--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html) +---- Forum: English (https://www.atozed.com/forums/forum-16.html) +----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html) +----- Thread: hoWantProtocolErrorContent, (/thread-2923.html) |
hoWantProtocolErrorContent, - Сергей Александрович - 11-21-2022 When compiling the project, the message is displayed: E2003 Undeclared identifier: 'hoWantProtocolErrorContent' mIdHTTP1.Request.ContentType := 'application/json;charset=UTF-8'; mIdHTTP1.HTTPOptions := mIdHTTP1.HTTPOptions + [hoNoProtocolErrorException, hoWantProtocolErrorContent]; This parameter is needed to display the response text from the server with the response code 400. When compiling in a normal project, everything goes fine, and when compiling in an IntraWeb project, this error occurs. Tell me how to solve the problem? |