Branch: Tag:

2002-03-27

2002-03-27 09:54:27 by Anders Johansson <anders@roxen.com>

Ported fix of lowercased Content-type from 2.2.

Rev: server/protocols/http.pike:1.363

2:   // Modified by Francesco Chemolli to add throttling capabilities.   // Copyright © 1996 - 2001, Roxen IS.    - constant cvs_version = "$Id: http.pike,v 1.362 2002/03/22 12:30:20 grubba Exp $"; + constant cvs_version = "$Id: http.pike,v 1.363 2002/03/27 09:54:27 anders Exp $";   // #define REQUEST_DEBUG   #define MAGIC_ERROR   
884:       case "host":    case "connection": -  case "content-type": +     misc[linename] = lower_case(contents);    break; -  +  case "content-type": +  misc[linename] = contents; +  break;    }    }    if(misc->len)