Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
hoWantProtocolErrorContent,
#1
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?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)