Internet Direct (Indy)
Home
PreviousUpNext
TIdHTTPResponseInfo.AuthRealm Property

Identifies the authentication and encryption for the HTTP response.

Pascal
property AuthRealm: string;

AuthRealm is a String property that identifies the authentication and encryption scheme used for the HTTP response. AuthRealm is used when constructing headers for TIdHTTPResponseInfo using property values. 

When AuthRealm contains a non-blank value, the HTTP response will include a "WWW-Authenticate" header with the value "Basic realm=" and the quoted contents of the AuthRealm property. AuthRealm also ensures that the ResponseNo for the HTTP Response is 401. 

The ContentText for the response is also set under this condition and no previous ContentText has been assigned. ContentText will contain an HTML document consisting of the ResponseNo and the textual message from RSHTTPUnauthorized.

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.