Mercurial Hosting > luan
comparison src/luan/modules/url/LuanUrl.java @ 1165:668f29bc52ea
clean up content-type
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Wed, 07 Feb 2018 23:16:12 -0700 |
parents | dbb3cb906482 |
children | d1911842c2be |
comparison
equal
deleted
inserted
replaced
1164:1f9d34a6f308 | 1165:668f29bc52ea |
---|---|
227 return getInputStream(httpCon); | 227 return getInputStream(httpCon); |
228 } | 228 } |
229 | 229 |
230 // POST | 230 // POST |
231 | 231 |
232 // httpCon.setRequestProperty("Content-Type","application/x-www-form-urlencoded"); | 232 // httpCon.setRequestProperty("content-type","application/x-www-form-urlencoded"); |
233 httpCon.setDoOutput(true); | 233 httpCon.setDoOutput(true); |
234 httpCon.setRequestMethod("POST"); | 234 httpCon.setRequestMethod("POST"); |
235 | 235 |
236 OutputStream out; | 236 OutputStream out; |
237 if( multipart != null ) { | 237 if( multipart != null ) { |