Back to product page

StatusText property

Holds status text returned to the client.




  • Basic
object.StatusText [= value]
The StatusText(object,value) syntax has these parts:
objectAn expression evaluating to an object of type WebResponse
valueA String value.


StatusText property describe result of client's request (as set in StatusCode property), sent as first line of response. It has no meaning to the actual person connecting, but in case of errors some clients may provide this text to the client to help him understand what error occurred.

There are typical texts for different status codes. For example, 404 is usually set to 'Not found', but if you want you can change this value to 'I am sorry but this resource does not exist' or something similar. Changing this property will cause StatusLine property to be updated, and vice versa.