From aced40e999fc5f6c81bc88fe4581e31fae5776ee Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Fri, 22 Oct 2004 21:15:38 +0000 Subject: Connection.java (sendRequest): Fix typo. * gnu/java/net/protocol/http/Connection.java (sendRequest): Fix typo. From-SVN: r89477 --- libjava/ChangeLog | 5 +++++ libjava/gnu/java/net/protocol/http/Connection.java | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'libjava') diff --git a/libjava/ChangeLog b/libjava/ChangeLog index c8ba285..d08e238 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,8 @@ +2004-10-22 Tom Tromey + + * gnu/java/net/protocol/http/Connection.java (sendRequest): Fix + typo. + 2004-10-22 Michael Koch PR libjava/14009 diff --git a/libjava/gnu/java/net/protocol/http/Connection.java b/libjava/gnu/java/net/protocol/http/Connection.java index d5ac5fb..ec3e048 100644 --- a/libjava/gnu/java/net/protocol/http/Connection.java +++ b/libjava/gnu/java/net/protocol/http/Connection.java @@ -219,7 +219,7 @@ public final class Connection extends HttpURLConnection // Send request including any request properties that were set. String requestFile = url.getFile(); outputWriter.print(getRequestMethod() + " " - + requestFile.length() != 0 ? requestFile : "/"; + + (requestFile.length() != 0 ? requestFile : "/") + " HTTP/1.1\r\n"); // Set additional HTTP headers. -- cgit v1.1