diff core/src/luan/modules/url/MultipartClient.java @ 726:14f136a4641f

use enctype for multipart/form-data
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 09 Jun 2016 18:43:32 -0600
parents a741a3a33423
children
line wrap: on
line diff
--- a/core/src/luan/modules/url/MultipartClient.java	Wed Jun 08 23:13:10 2016 -0600
+++ b/core/src/luan/modules/url/MultipartClient.java	Thu Jun 09 18:43:32 2016 -0600
@@ -57,9 +57,6 @@
 		        out.write(__DASHDASH);
 		        out.write(boundaryBytes);
 		        out.write(__CRLF);
-//		        if (contentType != null)
-//		            out.write(("Content-Type: "+contentType).getBytes(__ISO_8859_1));
-//		        out.write(__CRLF);
 	            out.write(("Content-Disposition: form-data; name=\""+name+"\"").getBytes(__ISO_8859_1));
 	            out.write(__CRLF);
 		        out.write(__CRLF);