Practical mod_perl / HTML Book /



previous page: 16.1. Date-Related Headers
  
page up: HTML Version of the book
  
next page: 16.1.2. Last-Modified Header

16.1.1. Date Header


Section 14.18 of the HTTP standard deals with the circumstances under which we must or must not send a Date header. For almost everything a normal mod_perl user does, a Date header needs to be generated. But the mod_perl programmer doesn't have to worry about this header, since the Apache server guarantees that it is always sent.

In http_protocol.c, the Date header is set according to $r->request_time. A mod_perl script can read, but not change, $r->request_time.

 

Continue to:

  • prev: 16.1. Date-Related Headers
  • Table of Contents
  • next: 16.1.2. Last-Modified Header







TOP
previous page: 16.1. Date-Related Headers
  
page up: HTML Version of the book
  
next page: 16.1.2. Last-Modified Header


Menu

  • HTML Book
  • PDF Book
  • Download Code
  • Table of Contents
  • Errata
  • mod_perl2 User's Guide
  • Sitemap

Search


Add to Google




Creative Commons License


Written by
Eric Cholet (Logilune) and
Stas Bekman (StasoSphere & Free Books).


[ Privacy Policy | Terms of Use | About Us | Search ]

© 2007 StasoSphere.com