Hello Moh, you are assuming preemptive authentication. In general, authentication is triggered by a 40x response from the server, which means the request has already been sent.
best regards, Roland "Rezaei, Mohammad A." <[EMAIL PROTECTED]> 26.02.2004 15:57 Please respond to "Commons HttpClient Project" To: "'Commons HttpClient Project'" <[EMAIL PROTECTED]> cc: Subject: RE: [RFE] provide request entities in a more abstract way Both authentication and closed connections should occur long before we read the input stream to send the request body. So why would you want to reset the stream? Thanks Moh