Web.HTTPApp.TWebRequest.IfModifiedSince

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property IfModifiedSince: TDateTime index 11 read GetDateVariable;

C++

__property System::TDateTime IfModifiedSince = {read=GetDateVariable, index=11};

Properties

Type Visibility Source Unit Parent
property public
Web.HTTPApp.pas
Web.HTTPApp.hpp
Web.HTTPApp TWebRequest

Description

Reports the value of the If-Modified-Since header of the HTTP request message.

Read IfModifiedSince on a request with a MethodType of mtGet to determine whether the request is conditional. If the information requested by the Web client was not modified since the time indicated by IfModifiedSince, the response should be a not modified error rather than the information indicated by the URL property.

The value of IfModifiedSince is given according to the local clock, not the clock of the Web client.

Note: On Windows, the value of the local clock is specified in the Windows Control Panel.

IfModifiedSince is represented using the TDateTime type. The integral part of a TDateTime value is the number of days that have passed since Dec. 30, 1899. The fractional part of a TDateTime value is the fraction of a 24-hour day that has elapsed.

See Also