Changeset 175:5421dac4d948
- Timestamp:
- 09/24/08 12:28:39 (5 years ago)
- Author:
- jean-gui
- Branch:
- default
- convert_revision:
- svn:cdcfb263-7567-472c-a848-e2c2df3466e7/trunk@176
- Message:
-
Forcing POST request for file upload on Jigsaw
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r174
|
r175
|
|
| 120 | 120 | public ClientHttpRequest ( |
| 121 | 121 | final URLConnection aURLConnection) throws IOException { |
| 122 | | System.out.println(aURLConnection); |
| 123 | 122 | ClientHttpRequest.logger.trace("Constructor(URLConnection)"); |
| 124 | 123 | this.aURLConnection = (HttpURLConnection) aURLConnection; |
| 125 | 124 | this.aURLConnection.setDoOutput(true); |
| 126 | 125 | this.aURLConnection.setRequestMethod("POST"); |
| | 126 | System.out.println("=================> " + this.aURLConnection.getRequestMethod()); |
| 127 | 127 | this.aURLConnection.setRequestProperty( |
| 128 | 128 | "Content-Type", |