hoWantProtocolErrorContent,

<< Click to Display Table of Contents >>

Navigation:  Forum >

hoWantProtocolErrorContent,

Forum link

 


 

11-21-2022, 11:59 AM:

 

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?