Re: best status code for bad auth method

I think that'd be a 407; this basically says "here is the list of accepted auth methods" and the client can put two and two together...

Cheers,


On 09/12/2011, at 12:57 PM, Adrien de Croy wrote:

> 
> Hi all
> 
> hopefully a quick question...
> 
> what is the best response code for a proxy that receives a request with a Proxy-Authorization header that specifies a method that is not acceptable to the proxy?
> 
> another 407?
> 403?  We don't want the client to repeat the request as is...
> 
> or do we need a new status code for "auth method not allowed".
> 
> Regards
> 
> Adrien de Croy
> 
> -- 
> Adrien de Croy - WinGate Proxy Server - http://www.wingate.com
> WinGate 7 is released! - http://www.wingate.com/getlatest/
> 
> 

--
Mark Nottingham   http://www.mnot.net/

Received on Friday, 9 December 2011 02:02:51 UTC