Server - returning HTTP status code

------- Forwarded Message

Return-Path: vu@isdnsys.com 
Return-Path: <vu@isdnsys.com>
Received: from www10.w3.org by www20 (5.0/NSCS-1.0S) 
	id AA12945; Wed, 14 Feb 1996 12:55:11 -0500
Received: from ISDNSYS-1.isdnsys.com (isdnsys.com) by www10.w3.org 
	id AA00033; Wed, 14 Feb 1996 12:55:07 +0500
Received: from vu.isdnsys.com by ISDNSYS-1.isdnsys.com (NTMail 3.00.06) id 
aa001072 Wed, 14 Feb 96 17:52:20 +0000 (GMT)
Received: by vun.isdnsys.com with Microsoft Mail
	id <01BAFADC.60D60DA0@vun.isdnsys.com>; Wed, 14 Feb 1996 13:00:13 -0500
Message-Id: <01BAFADC.60D60DA0@vun.isdnsys.com>
From: Vu Nguyen <vu@isdnsys.com>
To: 'Henrik Frystyk Nielsen' <frystyk@w3.org>
Cc: 'Vu Nguyen' <vun@isdnsys.com>
Subject: Server - returning HTTP status code
Date: Wed, 14 Feb 1996 13:00:11 -0500
Return-Receipt-To: <vu@isdnsys.com>
Mime-Version: 1.0
Content-Transfer-Encoding: quoted-printable
X-Info: ISDN Technology Leaders
Content-Type: text/plain; charset="us-ascii"
Content-Length: 1638

I'm beating my head against the wall (: trying to get the Mini Server to =
return an HTTP/1.0 Status line of type 2xx

for right now, I replace the line "500 Internal" with "HTTP/1.0 200 " to =
get the server
to return a 200 status code, and for HT_ERROR in the terminate_handler()
I have the following:

/*start vun mod */
   case HT_ERROR:
	 HTStream * OutStream;
	 HTStreamClass * isa;
	 HTError * pres;
	 HTList * cur;

	 cur =3D (HTList*) HTRequest_error(request);
	 	int index;
	 	char buf[256];
	 	while((pres =3D (HTError*) HTList_nextObject(cur)))
	 		index =3D HTError_index(pres);
			case    HTERR_NOT_FOUND:        /*404   */
                       			sprintf(buf, "%s<H1>Error %d</H1>
                              		Not found<HR>%s %s%s%c%c",
                              		<BODY>", 404, APP_NAME, APP_VERSION,
                              		"</BODY></HTML>", CR, LF);

				goto zend;
	OutStream =3D HTRequest_outputStream(request);
            isa =3D OutStream->isa;
            (*isa->put_string)(OutStream, buf);

	break; =09

/*end vun mod	*/

	<rest of org terminate_handler() code here>

------- End of Forwarded Message