hey,
i have a little problem.
i have a server that doesn't support well the 100 CONTINUE protocol and im
trying to post a big file.
the problem is that sometimes the request is not valid and i want to return
an error response but i dont want to read the whole file being sent in order
to do it. so i response and close the connection.
problem is since HTTPCLIENT still trying to write he fails and throws and IO
exception and in that state i cannot retrieve and response.
im not sure even if the protocol should support something like that but i
can say that i managed to do it with the simple HttpsURLConnection although
it takes about 30-40 seconds to receive the status.

i wonder if there is a possible way to create that flow with httpclient. 
i cant understand why if the the socket was close suddenly i cannot read the
info that was sent before the close.

i would really appreciate any kind of help

thanks in advance
er
-- 
View this message in context: 
http://old.nabble.com/Reading-status-code-of-disconnected-session-tp32587502p32587502.html
Sent from the HttpClient-User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to