Internet Direct (Indy)
Home
PreviousUpNext
TIdCustomHTTP.ResponseText Property

Specifies the text for a response received from a HTTP server.

Pascal
property ResponseText: string;

ResponseText is a read-only String property that specifies the textual message for a response received from a HTTP server. 

ResponseText normally contains one of the following values messages for the associated ResponseCode

 

Code 
Message 
200 
OK 
201 
Created 
202 
Accepted 
203 
Non-authoritative Information 
204 
No Content 
205 
Reset Content 
206 
Partial Content 
301 
Moved Permanently 
302 
Moved Temporarily 
303 
See Other 
304 
Not Modified 
305 
Use Proxy 
400 
Bad Request 
401 
Unauthorized 
403 
Forbidden 
404 
Not Found 
405 
Method not allowed 
406 
Not Acceptable 
407 
Proxy Authentication Required 
408 
Request Timeout 
409 
Conflict 
410 
Gone 
411 
Length Required 
412 
Precondition Failed 
413 
Request Entity To Long 
414 
Request-URI Too Long. 256 Chars max 
415 
Unsupported Media Type 
500 
Internal Server Error 
501 
Not Implemented 
502 
Bad Gateway 
503 
Service Unavailable 
504 
Gateway timeout 
505 
HTTP version not supported 

 

ResponseText is updated in the DoRequest method when a HTTP server response is retrieved. 

Use ResponseCode to access the numeric value for the HTTP server response.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.