- From: Gary Oberbrunner <garyo@avs.com>
- Date: Fri, 19 Jul 1996 13:01:43 -0400
- To: Henrik Frystyk Nielsen <frystyk@w3.org>
- Cc: www-lib@w3.org
I have a question (maybe it's a bug, I don't know): I have a client application using the www lib (latest beta version). I set the output stream of a request to a FileWriter, because I want the URL to be downloaded to a file. I use HTMIMEInit() to set up all the MIME header parsers. Now whenever I get a content-type header, the MIME content-type parser tries to build a content-type stack for going from that type to my desired output type. Unless I register a null converter for converting from */* to my desired output type, the stack (which is built by HTStreamStack) ends up with HTSaveLocally instead of my stream. This is pretty bogus when it prompts the user for a filename or dumps to /dev/null instead of using my stream. I'd think that it should just use my stream directly if it can't find a converter, no? (This is all in HTFormat.c.) Any help appreciated. Pls reply directly to me as well as the list, as I'm not on the www-lib mailing list, thx. -- Gary Oberbrunner garyo@avs.com Advanced Visual Systems, Inc. http://www.avs.com/~garyo 300 Fifth Avenue (617)890-8192 x2133 TEL Waltham, MA 02154 (617)890-8287 FAX
Received on Friday, 19 July 1996 13:01:55 UTC