- From: James Gallagher <jimg@dcz.cvo.oneworld.com>
- Date: Fri, 24 May 96 16:58:50 PDT
- To: www-lib@w3.org
Once I have fetched a URL I can find the return document's Content-Type header information using HTAnchor_format() (which returns an HTAtom object). However, I have a document whose Content-Type header *was* test/plain when the server sent it but on the client-side HTAnchor_format() shows it as `www/unknown'. Can anyone explain this behavior? Does this have to do with the converters registered for the stream/library? I have initialized the library so that the following converters are being used: _conv = HTList_new(); // GENERIC converters HTConversion_add(_conv,"multipart/*", "*/*", HTBoundary, 1.0, 0.0, 0.0); HTConversion_add(_conv,"message/rfc822", "*/*", HTMIMEConvert, 1.0, 0.0, 0.0); HTConversion_add(_conv,"text/x-http", "*/*", HTTPStatus_new, 1.0, 0.0, 0.0); HTFormat_setConversion(_conv); And the request object is bound to a HTStream created by HTFWriter_new(). -- __________________________________________________________________________ James Gallagher The Distributed Oceanographic Data System jgallagher@gso.uri.edu http://dods.gso.uri.edu/
Received on Friday, 24 May 1996 19:58:58 UTC