This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch: Fix HTTP posts


>>>>> "Anthony" == Anthony Green <green@redhat.com> 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?

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]