Hi Nic, Gokul and Chrishtopher ,
Thanks a lot for your help.
Nic: You are very much correct that my question was not clear to you
people.
I'll try to explain now what I want to achieve and where my doubt is.
Please revert back to me if I am wrong somewhere.
My setup: Java-Servlet , JRun3.0.
#1. I wanna know whether IE/Netscape (or any other smart browser) uses the
same socket to send a
request when they receive 3XX redirection response codes and the
domain is same(That is obvious) .
#2. I am writing a client to replicate the same behaviour of the client
browser. That is because I want to
make that process faster when I receive 3XX redirection response code
from the web server, by writing
to the same socket that I have opened for the first request. And I can
do that by setting the req. header "Connection : Keep-Alive".
I have checked that with the same socket and I got the response also.
At present I am using HTTP/1.0 only . So I am setting the Content-Length
entity header and reading that too while getting the response
from web server.
Thanks a lot for your great help. I am indebted to you all.
Regards ,
Sujoy
----- Original Message -----
From: Nic Ferrier <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 22, 2001 8:40 PM
Subject: Re: JRun with sendRedirects ???
> >>> Gokul Singh <[EMAIL PROTECTED]> 22-Jan-01 2:27:44 PM >>>
>
> >So when using the Keep-Alives, the content-length
> >*is required* on both requests and responses.
>
> Except when using Chunked-Encoding yes.
>
> Chunked-Encoding (HTTP/1.1) is really better precisely because it's
> not always possible to set content-length.
>
>
> >I stand corrected.
>
> It's pretty rare to catch you out /8->
>
>
> 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
___________________________________________________________________________
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