me = (HTStream *)calloc(1, sizeof(*me));
me = typecalloc(HTStream);
PUBLIC HTStream* HTMIMEConvert ARGS3(	HTPresentation *,	pres,	HTParentAnchor *,	anchor,	HTStream *,		sink){    HTStream* me;    me = (HTStream *)calloc(1, sizeof(*me));    if (me == NULL)	outofmem(__FILE__, "HTMIMEConvert");    me->isa	=	&HTMIME;    me->sink	=	sink;    me->anchor	=	anchor;    me->anchor->safe = FALSE;    me->anchor->no_cache = FALSE;    FREE(me->anchor->cache_control);    FREE(me->anchor->SugFname);    FREE(me->anchor->charset);    FREE(me->anchor->content_language);    FREE(me->anchor->content_encoding);    FREE(me->anchor->content_base);    FREE(me->anchor->content_disposition);    FREE(me->anchor->content_location);    FREE(me->anchor->content_md5);    me->anchor->content_length = 0;    FREE(me->anchor->date);    FREE(me->anchor->expires);    FREE(me->anchor->last_modified);    FREE(me->anchor->ETag);    FREE(me->anchor->server);    me->target	=	NULL;    me->state	=	miBEGINNING_OF_LINE;    /*     *	Sadly enough, change this to always default to WWW_HTML     *	to parse all text as HTML for the users.     *	GAB 06-30-94     *	Thanks to Robert Rowland robert@cyclops.pei.edu     *     *	After discussion of the correct handline, should be application/octet-     *		stream or unknown; causing servers to send a correct content     *		type.     *     *	The consequence of using WWW_UNKNOWN is that you end up downloading     *	as a binary file what 99.9% of the time is an HTML file, which should     *	have been rendered or displayed.  So sadly enough, I'm changing it     *	back to WWW_HTML, and it will handle the situation like Mosaic does,     *	and as Robert Rowland suggested, because being functionally correct     *	99.9% of the time is better than being technically correct but     *	functionally nonsensical. - FM     *//***    me->format	  =	WWW_UNKNOWN;	***/    me->format	  =	WWW_HTML;    me->targetRep =	pres->rep_out;    me->boundary  =	NULL;		/* Not set yet */    me->set_cookie  =	NULL;		/* Not set yet */    me->set_cookie2  =	NULL;		/* Not set yet */    me->encoding  =	0;		/* Not set yet */    me->compression_encoding = NULL;	/* Not set yet */    me->net_ascii =	NO;		/* Local character set */    HTAnchor_setUCInfoStage(me->anchor, current_char_set,			    UCT_STAGE_STRUCTURED,			    UCT_SETBY_DEFAULT);    HTAnchor_setUCInfoStage(me->anchor, current_char_set,			    UCT_STAGE_HTEXT,			    UCT_SETBY_DEFAULT);    return me;}