if statement for Content-Length

Jérôme Loyet jerome at loyet.net
Sat Jan 30 18:26:23 MSK 2010


2010/1/30 Kingsley Foreman <kingsley at internode.com.au>
>
> Hi Guys,
>
> I've been trying to work out if this can be done or not with not much luck
>
> I want to see if I can  do something like this
>
> If (Content-Length < 1024){
>        Return 403;
> }
>
> Im guessing this can't be done, however it would get around a caching issue I am having with large files.

what is the caching issue you're having with large files ?

>
> Kingsley
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx



More information about the nginx mailing list