Re: Bug in LWP::Socket.pm?

ts (decoux@moulon.inra.fr)
Thu, 5 Oct 1995 10:55:43 +0100


> Can anybody explain how we are supposed to talk with these ancient servers? 
 
 Talk normally.

> Should they accept the " HTTP/1.0" suffix on the request line (and the 
> headers) without problems?

 Here the result with CERN httpd 0.9b/WWWLibrary_1.1a (7 Jan 93)

moulon% cat Version.make
VD = 0.9b
moulon% more HTDaemon.c
/*              TCP/IP based server for HyperText               HTDaemon.c
**              ---------------------------------
**
**
** Compilation options:
**      RULES           If defined, use rule file and translation table
**      DIR_OPTIONS     If defined, -d options control directory access
**
**  Authors:
**      TBL     Tim Berners-Lee, CERN
**      JFG     Jean-Francois Groff, CERN
**      JS      Jonathan Streets, FNAL
**
**  History:
**         Sep 91  TBL  Made from earlier daemon files. (TBL)
**      26 Feb 92  JFG  Bug fixes for Multinet.
**       8 Jun 92  TBL  Bug fix: Perform multiple reads in case we don't get
**                      the whole command first read.
**      25 Jun 92  JFG  Added DECNET option through TCP socket emulation.
**       6 Jan 93  TBL  Plusses turned to spaces between keywords
**       7 Jan 93  JS   Bug fix: addrlen had not been set for accept() call
*/
/* (c) CERN WorldWideWeb project 1990-1992. See Copyright.html for details */

 .... 
moulon% ./httpd -r httpd.conf
GET /
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
.... moulon% ./httpd -r httpd.conf GET / HTTP/1.0 200 Document follows .... moulon% See the line `200 Document follows' :-) Guy Decoux