@Override
		public void dump(PrintStream out) {
			
			String contentType = request.getContentType();
			String charset = null;
			for (String param : contentType.replace(" ", "").split(";")) {
			    if (param.startsWith("charset=")) {
			        charset = param.split("=", 2)[1];
			        break;
			    }
			}
	
			if (charset != null) {
				
			    BufferedReader reader = null;
			    InputStreamReader stream = null;
			    try {
			    	
			    	stream = new InputStreamReader(request.getInputStream(), charset);
			        reader = new BufferedReader(stream);
			        for (String line; (line = reader.readLine()) != null;) {
			            out.println(line);
			        }

			    } catch (UnsupportedEncodingException e) {
					e.printStackTrace();
				} catch (IOException e) {
					e.printStackTrace();
				} finally {
			        if (reader != null) try { reader.close(); } catch (IOException logOrIgnore) {}
			    }
			} else {
			    // It's likely binary content, use InputStream/OutputStream.
				out.println("It's likely binary content");
			}	
		}