1.1 --- a/launcher/src/main/java/org/apidesign/bck2brwsr/launcher/Bck2BrwsrLauncher.java Thu Jan 31 17:39:47 2013 +0100
1.2 +++ b/launcher/src/main/java/org/apidesign/bck2brwsr/launcher/Bck2BrwsrLauncher.java Thu Jan 31 19:21:37 2013 +0100
1.3 @@ -168,7 +168,7 @@
1.4 if (ic.httpPath.equals(request.getRequestURI())) {
1.5 LOG.log(Level.INFO, "Serving HttpResource for {0}", request.getRequestURI());
1.6 response.setContentType(ic.httpType);
1.7 - response.getWriter().write(ic.httpContent);
1.8 + copyStream(ic.httpContent, response.getOutputStream(), null);
1.9 }
1.10 }
1.11 }