Internet Direct (Indy)
Home
PreviousUpNext
TIdEntityHeaderInfo.Date Property

Indicates the origin date and time for an HTTP message.

Pascal
property Date: TIdDateTime;

Date is a TDateTime property that indicates the origin date and time for an HTTP message. Origin servers must include a Date value in all responses, except in the following cases: 

 

Response 
Conditions 
100 (Continue) 
Date is an optional header field. 
101 (Switching Protocols) 
Date is an optional header field. 
500 (Internal Server Error) 
It is inconvenient or impossible to generate a valid Date. Server does not have a clock that can provide a reasonable approximation of the current time. 
503 (Service Unavailable) 
It is inconvenient or impossible to generate a valid Date. Server does not have a clock that can provide a reasonable approximation of the current time. 

 

A received message without a Date header must have a Date header value constructed on the client after receipt. 

A message sent by a client can contain an optional Date header value if the message has an entity body, as in HTTP PUT and POST requests.

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.