Nic, Thanks for the correction.
So when using the Keep-Alives, the content-length *is required* on both
requests and responses.
I stand corrected.

Regds,
Gokul

----- Original Message -----
From: "Nic Ferrier" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 22, 2001 7:48 PM
Subject: Re: [SERVLET-INTEREST] JRun with sendRedirects ???


> >>> Gokul Singh <[EMAIL PROTECTED]> 22-Jan-01 1:45:58 PM >>>
>
> >That is correct. Just take care that you might generate
> >a response which might not have body. In that case you
> >will not have a content-length header.
>
> If you're using keep-alives the engine should always write a
> content-length.
>
> The content-length for bodyless responses is (surprisingly enough)
> 0.
>
> You have to be able to do this because requests need content-length
> set for keep-alive connections and GET is a body less request.
>
>
> Nic
>

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to