Mercurial Hosting > luan
comparison src/luan/webserver/Connection.java @ 1198:9d3835e88204
better query handling
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Tue, 27 Feb 2018 21:28:24 -0700 |
parents | 886e14903c1e |
children | 59289af20d9a |
comparison
equal
deleted
inserted
replaced
1197:886e14903c1e | 1198:9d3835e88204 |
---|---|
87 if( "application/x-www-form-urlencoded".equals(contentType) ) { | 87 if( "application/x-www-form-urlencoded".equals(contentType) ) { |
88 parser.parseUrlencoded(); | 88 parser.parseUrlencoded(); |
89 } else if( contentType.startsWith("multipart/form-data;") ) { | 89 } else if( contentType.startsWith("multipart/form-data;") ) { |
90 parser.parseMultipart(); | 90 parser.parseMultipart(); |
91 } else { | 91 } else { |
92 logger.warn("unknown content type: "+contentType); | 92 logger.warn("unknown request content-type: "+contentType); |
93 } | 93 } |
94 } | 94 } |
95 } | 95 } |
96 response = server.handler.handle(request); | 96 response = server.handler.handle(request); |
97 } catch(ParseException e) { | 97 } catch(ParseException e) { |