Roxen.git/
server/
protocols/
http.pike
Branch:
Tag:
Non-build tags
All tags
No tags
2004-05-05
2004-05-05 21:26:14 by Martin Stjernholm <mast@lysator.liu.se>
57de558b9181c95361d03e004e17f3de86fa9197 (
6
lines) (+
5
/-
1
)
[
Show
|
Annotate
]
Branch:
5.2
Handle newfangled MultiStatus responses.
Rev: server/protocols/http.pike:1.438
2:
// Modified by Francesco Chemolli to add throttling capabilities. // Copyright © 1996 - 2001, Roxen IS.
-
constant cvs_version = "$Id: http.pike,v 1.
437
2004/05/05
16
:
56
:
56
wellhard
Exp $";
+
constant cvs_version = "$Id: http.pike,v 1.
438
2004/05/05
21
:
26
:
14
mast
Exp $";
// #define REQUEST_DEBUG #define MAGIC_ERROR
1600:
if(!file->raw && (prot != "HTTP/0.9")) {
+
if (!sizeof (file) && multi_status)
+
file = multi_status->http_answer();
+
if (file->error == Protocols.HTTP.HTTP_NO_CONTENT) { // We actually give some content cf comment below. file->len = 2;