Branch: Tag:

1997-08-04

1997-08-04 12:53:27 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Minor changes

Rev: server/protocols/http.pike:1.34

1:   // This is a roxen module. (c) Informationsv√§varna AB 1996.    - string cvs_version = "$Id: http.pike,v 1.33 1997/08/03 22:51:55 grubba Exp $"; + string cvs_version = "$Id: http.pike,v 1.34 1997/08/04 12:53:27 grubba Exp $";   // HTTP protocol module.   #include <config.h>   private inherit "roxenlib";
344:       if(strlen(contents))    { -  switch (linename) -  { +  switch (linename) {    case "content-length":    misc->len = (int)(contents-" ");   
467:    /* Some of M$'s non-standard user-agent info */    case "ua-pixels": /* Screen resolution */    case "ua-color": /* Color scheme */ -  case "ua-os": /* OS-name */ +  case "ua-os": /* OS-name */    case "ua-cpu": /* CPU-type */    /* None of the above are interresting or usefull */    /* IGNORED */
558:    since=contents;    break;    +  case "negotiate": +  misc["negotiate"]=contents; +  break; +  +  case "via": +  misc["via"]=contents; +  break; +  +  case "cache-control": +  misc["cache-control"]=contents; +  break; +  +     case "forwarded":    misc["forwarded"]=contents;    break;
1079:    conf->requests++;    }   #ifdef THREADS -  handle(this_object()->handle_request); +  roxen->handle(this_object()->handle_request);   #else    this_object()->handle_request();   #endif