RAD Studio VCL Reference
|
Raises an exception if the response to a SOAP method call has a common invalid content-type header.
procedure CheckContentType;
__fastcall CheckContentType();
CheckContentType checks the Content-type header of the response that THTTPReqResp receives after sending a request to the Web Service application. If it recognizes the content-type as invalid, CheckContentType raises an ESOAPHTTPException.
CheckContentType does not rule out all invalid content types, only the most common.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|