Roxen.git/
server/
protocols/
http.pike
Branch:
Tag:
Non-build tags
All tags
No tags
2002-10-08
2002-10-08 16:37:37 by Jonas Wallden <jonasw@roxen.com>
db84093a61dd08ea94dc1eb6470fd7fd9fa7e20d (
5
lines) (+
3
/-
2
)
[
Show
|
Annotate
]
Branch:
5.2
Unset misc->last_modified should not generate 304 answers.
Rev: server/protocols/http.pike:1.378
2:
// Modified by Francesco Chemolli to add throttling capabilities. // Copyright © 1996 - 2001, Roxen IS.
-
constant cvs_version = "$Id: http.pike,v 1.
377
2002/10/08 16:
29
:
11
anders
Exp $";
+
constant cvs_version = "$Id: http.pike,v 1.
378
2002/10/08 16:
37
:
37
jonasw
Exp $";
// #define REQUEST_DEBUG #define MAGIC_ERROR
1676:
// misc->last_modified, // misc->cacheable);
-
if(since && (!file->error || file->error == 200))
+
if(since && (!file->error || file->error == 200)
&& misc->last_modified
)
{ /* ({ time, len }) */ array(int) since_info = Roxen.parse_since( since );