/*
- * $Id: http.cc,v 1.224 1997/11/29 08:03:19 wessels Exp $
+ * $Id: http.cc,v 1.225 1997/12/01 02:17:29 wessels Exp $
*
* DEBUG: section 11 Hypertext Transfer Protocol (HTTP)
* AUTHOR: Harvest Derived
return 0;
debug(11, 5) ("httpPconnTransferDone: content_length=%d\n",
reply->content_length);
-#if DONT_THINK_THIS_MATTERS
/*
* !200 replies maybe don't have content-length, so
* if we saw the end of the headers then try being persistent.
*/
if (reply->code != 200)
- if (httpState->reply_hdr_state > 1)
- return 1;
-#endif
+ if (reply->content_length < 0)
+ if (httpState->reply_hdr_state > 1)
+ return 1;
/*
* If there is no content-length, then we probably can't be persistent
*/