Patch: Fix HTTP posts

Tom Tromey
Sun Sep 8 11:33:00 GMT 2002

>>>>> "Anthony" == Anthony Green <> writes:

Anthony> Another little fix from Christophe.  Out HTTP Connection
Anthony> class was trying to read HTTP headers even for output/POST
Anthony> connections.  This just defers reading headers 'til we know
Anthony> for sure that we're going to read from the socket.

I haven't looked at this code very closely (ever).
However I thought it was possible to examine the header fields any
time after connect().  The URLConnection docs seem to bear this out.
Based on that I don't think this patch is ready as-is.
What do you think?


More information about the Java-patches mailing list