Is 'Location: URI' header supposed to work?

I have looked into this closer. The crash occurs at end of


    ** 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?

Markku Savela (msa@hemuli.tte.vtt.fi),     Technical Research Centre of Finland
Multimedia Systems, P.O.Box 1203,FIN-02044 VTT,http://www.vtt.fi/tte/staff/msa/