Commit aced40e9 by Tom Tromey Committed by Tom Tromey

Connection.java (sendRequest): Fix typo.

	* gnu/java/net/protocol/http/Connection.java (sendRequest): Fix
	typo.

From-SVN: r89477
parent 7758f90a
2004-10-22 Tom Tromey <tromey@redhat.com>
* gnu/java/net/protocol/http/Connection.java (sendRequest): Fix
typo.
2004-10-22 Michael Koch <konqueror@gmx.de> 2004-10-22 Michael Koch <konqueror@gmx.de>
PR libjava/14009 PR libjava/14009
......
...@@ -219,7 +219,7 @@ public final class Connection extends HttpURLConnection ...@@ -219,7 +219,7 @@ public final class Connection extends HttpURLConnection
// Send request including any request properties that were set. // Send request including any request properties that were set.
String requestFile = url.getFile(); String requestFile = url.getFile();
outputWriter.print(getRequestMethod() + " " outputWriter.print(getRequestMethod() + " "
+ requestFile.length() != 0 ? requestFile : "/"; + (requestFile.length() != 0 ? requestFile : "/")
+ " HTTP/1.1\r\n"); + " HTTP/1.1\r\n");
// Set additional HTTP headers. // Set additional HTTP headers.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment