> Hello,
> 
> I am using the HttpClient library to send HTTP POST requests to an
> HTTP server that accepts connections using Java ServerSocket and
> creates a new Socket for each connection.
> 
> I am using PostMethod to create the data and
> HttpClient.executeMethod() to send the POST.  I am getting
> unpredictable behavior from this method:  Basically, sometimes the
> content gets sent and sometimes it doesn't.  However both times the
> Content-Length field contains the length of the content that should be
> there.
> 
> On the server, I print out the full request sent and its length
> (header + content).  Sometimes, I receive the content and sometimes I
> do not.  To also verify this, the length of the header + content
> varies, even though I am sending the same request every time!  
> 
> Is this a bug in the PostMethod or its parent classes?
> 
> Sujan Kapadia
> 
> 
> 

Reply via email to