How do you add a custom header with the value set to current time in msec?

Dave Cheney dave at cheney.net
Thu Jun 11 08:34:41 MSD 2009


I know this isn't exactly what you asked, but the Date: header is 
essentially a timestamp of the request time.

/D

yfinkelstein writes:

> Hi, 
> I want to insert a custom HTTP header with the value set to the current timestamp in msec. Is it possible to accomplish this without using perl module? Is there a bult-in variable $current_time or something like this? 
> 
> Thanks,
> Yuri
> 
> Posted at Nginx Forum: http://forum.nginx.org/read.php?2,2788,2788#msg-2788
> 
> 





More information about the nginx mailing list