HTTP Persistent Connections

Moderator: Praktikum: Internet

Beiträge: 17
Registriert: 6. Okt 2006 10:10

HTTP Persistent Connections

Beitrag von fernando »


Last class there was an interesting question regarding the interaction between a server and an application -browser for instance-, and how do they decide to close the connection.

The procedure is rather well defined, and is documented in the HTTP RFC, in the following section: ... .html#sec8

A second question was: How do I know if there's body comming after the header. That's also defined in the RFC: "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"

Finally, how do we know whether we have received the whole content, it is also defined (content-length headers and Transfer-Encoding headers): ... .html#sec4

Best regards,

Zurück zu „Praktikum: Internet“