Re: bare minimum headers

From: Stephane Bortzmeyer <[email protected]>
Date: Wed, 25 Jun 97 11:33:40 +0200

On Tuesday 24 June 97, at 17 h 41, the keyboard of "Joseph M. Futrelle"
<futrelle@ncsa.uiuc.edu> wrote:

> I'm trying to write a *really simple* httpd, which does some slow stuff,
> and use squid as a caching accelerator for it. What headers should I have
> it emit so that Squid will, for example, cache each response for say, one
> day?

If you want to write a HTTP daemon, even simple, you have to read the RFC
on HTTP first. (HTTP 1.1 is covered in RFC 2068, with a nice section on
expiration, see also the Expires and Cache-control fields.)
Received on Wed Jun 25 1997 - 02:36:45 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:35:34 MST