Hi Jarno,

On Mon, Jan 09, 2017 at 02:38:32PM +0200, Jarno Huuskonen wrote:
> Hello,
> 
> Haproxy uses 500 "Server Error" for error/status code 500.
> AFAIK RFC 2616/7231 and most? other servers use 500 "Internal Server Error".
> 
> Is there a reason for using "Server Error" and not "Internal Server
> Error" ?

There's no reason for it just like there's no reason against it.
The reason code is free, you could even translate it if you want.

> If you think "Internal Server Error" is more suitable then this patch
> changes the 500 status code texts to "Internal Server Error".
> (Patch is against 1.8dev but should also apply to 1.7.1).

I'm fine with merging this in 1.8.

> (I hope examples/errorfiles/500.http \r\n line endings survive email ...)

The \r was dropped, so I had to apply it by hand to the errorfile.

Thanks!
Willy

Reply via email to