Re: Is 'Location: URI' header supposed to work?

Markku Savela writes:
> I have looked into this closer. The crash occurs at end of
> 	HTMIME.c/HTMIME_put_block:
>     /* 
>     ** Put the rest down the stream without touching the data but make sure
>     ** that we get the correct content length of data
>     */
>     if ((status = (*me->target->isa->put_block)(me->target, b, l)) != HT_OK)
>         return status;
> because me->target is NULL. And, seems that the SITETRACK software
> returns the redirections without content-type headers, and WWWLIB does
> not generate any output target in that case?
> Anyways, what is the correct workaround for this? Test me->target and
> if NULL, return HT_OK or HT_ERROR or something else? Force some
> default content-type if the header is missing?

This has been fixed in the latest version 4.1b3

Henrik Frystyk Nielsen, <frystyk@w3.org>
World Wide Web Consortium, MIT/LCS NE43-356
545 Technology Square, Cambridge MA 02139, USA