static POST

Igor Sysoev is at rambler-co.ru
Fri Aug 15 12:50:26 MSD 2008


On Fri, Aug 15, 2008 at 09:31:21AM +0100, Igor Clark wrote:

> Igor, this is great news, thank you. Will it be in the 0.6.x branch release?

Yes, it will be merged. The patch should be suitable for 0.6.x.

> ----- Original Message -----
> From: Igor Sysoev <is at rambler-co.ru>
> To: nginx at sysoev.ru
> Sent: Fri, 15 Aug 2008 08:10:27 +0100 (BST)
> Subject: Re: static POST
> 
> On Fri, Aug 15, 2008 at 03:05:42PM +0800, Delta Yeh wrote:
> 
> > What does this feature use for?  Any scenarios?
> 
> This configuration is replacement of ugly hack:
> 
>    location / {
> 
>        if (-e $request_filename) {
>            break;
>        }
> 
>        proxy_pass  ...
>    }
> 
> 
> > 2008/8/14 Igor Sysoev <is at rambler-co.ru>
> > 
> > > The attached patch allows POSTs to non-existent files.
> > > This allows POSTs in following configuration:
> > >
> > >    location / {
> > >        error_page  404 = @fallback;
> > >    }
> > >
> > >    location @fallback {
> > >        ...
> > >    }
> > >
> > > I intended to include it in the next release.
> 
> 
> -- 
> Igor Sysoev
> http://sysoev.ru/en/
> 
> 
> 

-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list