return 408 does not return body and status = 200

Maxim Dounin mdounin at mdounin.ru
Tue Feb 8 18:24:10 MSK 2011


Hello!

On Tue, Feb 08, 2011 at 09:02:30AM -0500, DeineAgentur wrote:

> Hello!
> 
> If i set 
> 
> [code]
> return 408;
> [/code]
> 
> there is no return status 408 and no body response.

Yes, it's expected.  Code 408 is expected to be generated when 
client timed out and we aren't willing to wait anymore, it causes 
immediate request (and connection) close.

Maxim Dounin



More information about the nginx mailing list