Выставлять connection close
Kirill A. Korinskiy
catap+nginx at catap.ru
Sat May 16 01:53:26 MSD 2009
At Sat, 16 May 2009 00:08:58 +0400,
Maxim Dounin <mdounin at mdounin.ru> wrote:
>
> 4.3 Message Body
>
> ...
>
> The presence of a message-body in a request is signaled by the
> inclusion of a Content-Length or Transfer-Encoding header field in
> the request's message-headers.
>
угу, Content-Length: 0 сигнализирует о том что у этого сообщения есть
тело длинной ноль. Но клиент его не должен обрабатывать, ибо
4.4. Message Length
The transfer-length of a message is the length of the message-body as
it appears in the message; that is, after any transfer-codings have
been applied. When a message-body is included with a message, the
transfer-length of that body is determined by one of the following
(in order of precedence):
1. Any response message which "MUST NOT" include a message-body
(such as the 1xx, 204, and 304 responses and any response to a
HEAD request) is always terminated by the first empty line after
the header fields, regardless of the entity-header fields present
in the message.
--
wbr, Kirill
More information about the nginx-ru
mailing list