Roxen.git/
server/
protocols/
http.pike
Branch:
Tag:
Non-build tags
All tags
No tags
2002-03-27
2002-03-27 09:54:27 by Anders Johansson <anders@roxen.com>
ff0714e22d0c17ebbb7cab0cda75ac73ba465e51 (
7
lines) (+
5
/-
2
)
[
Show
|
Annotate
]
Branch:
5.2
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)