On Feb 13, 2008 10:41 AM, Elf <address@hidden> wrote:
It would be nice if the handling of Connection: close
is consistent with http:POST and http:GET.
how is it inconsistent? http posts should close connect afterwards, its not
a continuable operation, from my understandings.
That's incorrect. Persistent connections are the default in HTTP/1.1,
and POSTs are not excepted. Unless connection closure is explicitly
negotiated, a HTTP/1.1 server may assume that the connection will
continue to be used after a POST (or any other operation). See RFC
2616, section 8.1 for the whole story.
For HTTP 1.0, *all* connections are closed after a single transaction,
altough the Keep-Alive header may be used to request a persistent
connection. The 1.1 spec warns that this approach has its problems.
See RFC 2608 and 2616.
Best,
Graham