1998-08-25
1998-08-25 22:50:49 by Henrik Grubbström (Grubba) <grubba@grubba.org>
-
fe14f5e47789470161a2a871de4fdb22d1b7de9e
(13 lines)
(+12/-1)
[
Show
| Annotate
]
Branch: 5.2
Added some more debug.
Rev: server/protocols/http.pike:1.115
6: Inside #if defined(MAGIC_ERROR)
#ifdef MAGIC_ERROR
inherit "highlight_pike";
#endif
- constant cvs_version = "$Id: http.pike,v 1.114 1998/08/21 23:02:02 js Exp $";
+ constant cvs_version = "$Id: http.pike,v 1.115 1998/08/25 22:50:49 grubba Exp $";
// HTTP protocol module.
#include <config.h>
private inherit "roxenlib";
309:
raw_url = f;
time = _time(1);
+ DPERROR(sprintf("RAW_URL:%O", raw_url));
if(!remoteaddr)
{
320:
}
f = scan_for_query( f );
+
+ DPERROR(sprintf("After query scan:%O", f));
+
// f = http_decode_string( f );
if (sscanf(f, "/<%s>/%s", a, f)==2)
329:
f = "/"+f;
}
+ DPERROR(sprintf("After cookie scan:%O", f));
+
if ((sscanf(f, "/(%s)/%s", a, f)==2) && strlen(a))
{
prestate = aggregate_multiset(@(a/","-({""})));
f = "/"+f;
}
-
+ DPERROR(sprintf("After prestate scan:%O", f));
+
not_query = simplify_path(http_decode_string(f));
-
+ DPERROR(sprintf("After simplify_path == not_query:%O", not_query));
+
request_headers = ([]); // FIXME: KEEP-ALIVE?
if(sizeof(s)) {