diff options
| author | Michael Koch <konqueror@gmx.de> | 2004-03-20 10:50:39 +0000 |
|---|---|---|
| committer | Michael Koch <konqueror@gmx.de> | 2004-03-20 10:50:39 +0000 |
| commit | e0e89f0b31a687bbbec3bb5d71373b7a62e76ef8 (patch) | |
| tree | 9c2ecb173bcb4966fb03d25c69c69352ef17a024 /gnu/java/net/protocol/http/Connection.java | |
| parent | cd354e5829091b67d48d9e292c53cf94edadbc62 (diff) | |
| download | classpath-e0e89f0b31a687bbbec3bb5d71373b7a62e76ef8.tar.gz | |
2004-03-20 Michael Koch <konqueror@gmx.de>
* gnu/java/net/protocol/http/Connection.java
(getOutputStream): Dont set POST method.
Diffstat (limited to 'gnu/java/net/protocol/http/Connection.java')
| -rw-r--r-- | gnu/java/net/protocol/http/Connection.java | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gnu/java/net/protocol/http/Connection.java b/gnu/java/net/protocol/http/Connection.java index bd4100ca0..6f6064acc 100644 --- a/gnu/java/net/protocol/http/Connection.java +++ b/gnu/java/net/protocol/http/Connection.java @@ -393,9 +393,6 @@ public final class Connection extends HttpURLConnection throw new ProtocolException ("Want output stream while haven't setDoOutput(true)"); - if (!method.equals ("POST")) //But we might support "PUT" in future - setRequestMethod ("POST"); - if (bufferedOutputStream == null) bufferedOutputStream = new ByteArrayOutputStream (256); //default is too small |
