if you read POST data, then redirect, you need to do this before the
redirect or apache will hang:
        $r->method_number(M_GET);
        $r->method('GET');
        $r->headers_in->unset('Content-length');

On Wed, 20 Oct 1999, Ilya Obshadko wrote:

> Hello,
> 
>   Weird things: this simple & plain code
> 
>     $req->header_out('Location' => $ENV{SCRIPT_NAME});
>     $req->status(REDIRECT);
>     $req->send_http_header;
> 
>   in POST script doesn't work with Netscape. It results in 'document
>   contains no data' message. If $req->send_http_header is omitted,
>   Netscape waits indefinitely until timeout. With IE, it's all ok.
>   
>   Even more strange - some weeks ago I've installed a VERY similar
>   server with the same mod_perl & apache, and all such scripts
>   worked fine. But don't advice to diff on all the config files -- it
>   would take too long ;)
> 
> Best regards,
>  Ilya                          mailto:[EMAIL PROTECTED]
> 
> 

Reply via email to