Branch: Tag:

1999-08-17

1999-08-17 18:37:51 by Henrik Grubbström (Grubba) <grubba@grubba.org>

The content-type field in the heads mapping is spelled "Content-type",
and not "Content-Type".

Rev: server/protocols/http.pike:1.151

6: Inside #if defined(MAGIC_ERROR)
  #ifdef MAGIC_ERROR   inherit "highlight_pike";   #endif - constant cvs_version = "$Id: http.pike,v 1.150 1999/08/06 03:15:10 per Exp $"; + constant cvs_version = "$Id: http.pike,v 1.151 1999/08/17 18:37:51 grubba Exp $";   // HTTP protocol module.   #include <config.h>   private inherit "roxenlib";
1356:    string h;    heads += ([    "MIME-Version" : (file["mime-version"] || "1.0"), -  "Content-Type" : file["type"], +  "Content-type" : file["type"],    "Accept-Ranges" : "bytes",    "Server" : replace(version(), " ", "·"),   #ifdef KEEP_ALIVE