Topic Path: Symbol Reference > Classes > TIdResponseHeaderInfo Class > TIdResponseHeaderInfo Properties > AcceptRanges Property
ContentsIndexHome
PreviousUpNext
TIdResponseHeaderInfo.AcceptRanges Property

Represent the value for the HTTP Accept-Ranges header from an HTTP response.

property AcceptRanges: string;

AcceptRanges is a string property used to represent the value for the HTTP Accept-Ranges header from an HTTP response. AcceptRanges indicates that the HTTP server acceptance of range requests for a resource. 

AcceptRanges can contain the values 'bytes' or 'none' in the range unit. An HTTP client can generate a byte-range requests without having received the AcceptRange header for the resource involved. 

Servers that do not accept any kind of range request for a resource may send the value 'none' in the AcceptRanges property to advise the client not to attempt a range request.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.