Connection.java (sendRequest): Fix typo.
* gnu/java/net/protocol/http/Connection.java (sendRequest): Fix typo. From-SVN: r89477
This commit is contained in:
parent
7758f90a45
commit
aced40e999
2 changed files with 6 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue