diff src/luan/webserver/Request.java @ 1274:383f924dfe9d

support multipart files in http request
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 04 Dec 2018 06:08:20 -0700
parents e8020216dee7
children
line wrap: on
line diff
--- a/src/luan/webserver/Request.java	Tue Dec 04 03:35:38 2018 -0700
+++ b/src/luan/webserver/Request.java	Tue Dec 04 06:08:20 2018 -0700
@@ -22,7 +22,7 @@
 		public final String contentType;
 		public final Object content;  // byte[] or String
 
-		MultipartFile(String filename,String contentType,Object content) {
+		public MultipartFile(String filename,String contentType,Object content) {
 			this.filename = filename;
 			this.contentType = contentType;
 			this.content = content;