1998-10-26
1998-10-26 21:24:44 by Henrik Grubbström (Grubba) <grubba@grubba.org>
-
45b22b677e452a637237b1e4334689d136f0385a
(10 lines)
(+9/-1)
[
Show
| Annotate
]
Branch: 5.2
Added ready_to_receive().
Rev: server/protocols/http.pike:1.119
6: Inside #if defined(MAGIC_ERROR)
#ifdef MAGIC_ERROR
inherit "highlight_pike";
#endif
- constant cvs_version = "$Id: http.pike,v 1.118 1998/10/18 21:25:32 grubba Exp $";
+ constant cvs_version = "$Id: http.pike,v 1.119 1998/10/26 21:24:44 grubba Exp $";
// HTTP protocol module.
#include <config.h>
private inherit "roxenlib";
975:
return format_backtrace(bt,eid)+"<hr noshade><pre>"+data+"</pre>";
}
+ // Tell the client that it can start sending some more data
+ void ready_to_receive()
+ {
+ if (clientprot == "HTTP/1.1") {
+ my_fd->write("HTTP/1.1 100 Continue\r\n");
+ }
+ }
// Send the result.
void send_result(mapping|void result)