- From: Henrik Frystyk Nielsen <frystyk@w3.org>
- Date: Fri, 7 Jul 1995 14:12:51 -0400
- To: www-lib@w3.org, twtsu1@mda011.cc.monash.edu.au
Hi Tommy
What you probably want to do is _not_ to use the stream stack. After all,
a proxy normally doesn't perform data conversion on the fly (yet - even
though there is no reason not to). However, in this situation you can
set the output format to WWW_SOURCE, or
request->output_format = WWW_SOURCE;
in which case the stream stack is short circuited.
--
Henrik Frystyk frystyk@W3.org
World-Wide Web Consortium, Tel + 1 617 258 8143
MIT/LCS, NE43-356 Fax + 1 617 258 8682
77 Massachusetts Avenue
Cambridge MA 02154, USA
> Got another problem with trying to program with libwww ...
>
> I am writing a proxy and am using HTLoadToStream to send the result
> from the server to the client.....
>
> but I am having the following error ...
>
> WWW Alert: Fatal Error 501 command not Implemented Can't convert from www/mime
> to www/present
>
> I have already setup the conversion by the following :
>
> request = HTRequest_new();
> if (!request->conversions)
> {
> request->conversions = HTList_new();
> HTFormatInit(request->conversions);
> HTSetConversion(request->conversions,"www/mime","www/present",HTMIMEConvert,1.0,
> 0.0, 0.0);
>
> }
>
> What am I doing wrong ?
Received on Friday, 7 July 1995 14:12:53 UTC