Branch: Tag:

2002-11-27

2002-11-27 12:46:41 by Anders Johansson <anders@roxen.com>

Init misc->cacheable for HEAD requests to get correct expire header for such requests.

Rev: server/protocols/http.pike:1.386

2:   // Modified by Francesco Chemolli to add throttling capabilities.   // Copyright © 1996 - 2001, Roxen IS.    - constant cvs_version = "$Id: http.pike,v 1.385 2002/11/18 18:05:51 grubba Exp $"; + constant cvs_version = "$Id: http.pike,v 1.386 2002/11/27 12:46:41 anders Exp $";   // #define REQUEST_DEBUG   #define MAGIC_ERROR   
2018:    return;    }    -  if( method == "GET" ) +  if( method == "GET" || method == "HEAD" )    misc->cacheable = INITIAL_CACHEABLE; // FIXME: Make configurable.       TIMER_START(find_conf);