W3C home > Mailing lists > Public > www-lib@w3.org > April to June 1996

Proxy/Authentication Question

From: Jonathan Sheena <jsheena@mit.edu>
Date: Tue, 09 Apr 1996 19:28:07 -0400
Message-Id: <316AF287.41C6@MIT.EDU>
To: www-lib@w3.org
Cc: jsheena@mit.edu
I'm trying to write a proxy that does some post processing on any text
it serves.  I've written a new "text/html"->"*/*" converter that does
the processing I need. 


I've added this to MiniServ:

  HTConversion_add(ms->converters,"text/x-http","*/*", HTTPStatus_new,
		     1.0, 0.0, 0.0);
  HTConversion_add(ms->converters, "text/html", "*/*", MyConverter, 
		     0.5, 0.0, 0.0);      


Unfortunately, since I'm running HTTPStatus converter, it's eating all
the http header info (and the MIME converter is eating the MIME
info...).  So Unauthorized Access (401) messages aren't being passed
through to the client.

Do I have to change stream_pipe() in the HTTPStatus to write out the
http status back to the stream instead of eating it?

Thanks,

--Jonathan Sheena
Received on Tuesday, 9 April 1996 19:28:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:26 GMT