Internet Direct (Indy)
Home
PreviousUpNext
TIdResponseHeaderInfo.AcceptRanges Property

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

Pascal
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.

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.