Branch: Tag:

2005-08-16

2005-08-16 15:39:28 by Martin Stjernholm <mast@lysator.liu.se>

"·" is not a valid char in the Server header.

Rev: server/base_server/prototypes.pike:1.148
Rev: server/base_server/roxenlib.pike:1.220

6:   #include <module.h>   #include <variables.h>   #include <module_constants.h> - constant cvs_version="$Id: prototypes.pike,v 1.147 2005/04/12 17:04:20 anders Exp $"; + constant cvs_version="$Id: prototypes.pike,v 1.148 2005/08/16 15:39:27 mast Exp $";      #ifdef DAV_DEBUG   #define DAV_WERROR(X...) werror(X)
1614:    }       heads["Accept-Ranges"] = "bytes"; -  heads["Server"] = replace(roxenp()->version(), " ", "·"); +  heads["Server"] = replace(roxenp()->version(), " ", "_");    if (file->error == 500) {    // Internal server error.    // Make sure the connection is closed to resync.