[PATCH] Allow returning 407 status

Raimon Grau raimon at 3scale.net
Thu Oct 31 14:27:07 UTC 2013

On Thu, Oct 31, 2013 at 12:12 PM, Ruslan Ermilov <ru at nginx.com> wrote:
> What do you mean by "forbids"?  What's wrong with "return 407"?

In 1.4.3, using the default nginx.conf, just adding
"location /hola { return 407;} "
doesn't answer correctly:


The same with return 201 worked fine.

BUT, I have just tried 1.5.6, and it works there. In fact, the file
where the patch applied changed quite a bit, so even the patch
wouldn't be appliable for 1.5.6


Raimon Grau
3scale Networks

More information about the nginx-devel mailing list