This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Patch: Fix HTTP posts
- From: Tom Tromey <tromey at redhat dot com>
- To: Anthony Green <green at redhat dot com>
- Cc: java-patches at gcc dot gnu dot org, Christophe Roux <ch_roux at club-internet dot fr>
- Date: 08 Sep 2002 12:35:09 -0600
- Subject: Re: Patch: Fix HTTP posts
- References: <1031428559.1980.45.camel@dhcppc2>
- Reply-to: tromey at redhat dot com
>>>>> "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