Branch: Tag:

1998-10-26

1998-10-26 21:24:44 by Henrik Grubbström (Grubba) <grubba@grubba.org>

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)