| 
					
				 | 
			
			
				@@ -78,13 +78,9 @@ class BridgeFilter(private val template: SimpMessagingTemplate, val resourceLoad 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 try { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     val headerMap = req.headerNames.toList().associateBy({ it }, { req.getHeader(it) }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     val rb = RequestBuilder(reqId, toPath, HttpMethod.valueOf(req.method), headerMap.toMutableMap()) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     rb.queryString = req.queryString 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    println("content type = " + req.contentType) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    AppLog.write(this.javaClass).info("content type = " + req.contentType) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     if (req.contentType?.toLowerCase()?.contains("multipart/form-data") == true) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        println("this is multipart") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         rb.parts = 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             req.parts.map { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                 val subFilename = if (it.submittedFileName == null) { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -97,7 +93,6 @@ class BridgeFilter(private val template: SimpMessagingTemplate, val resourceLoad 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                 FilePart(it.name, subFilename, fb64) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             }.toMutableList() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        println("not multipart") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         val body = req.reader.lines().toList().joinToString(System.lineSeparator()) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         rb.body = body 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     } 
			 |