}
                ProprietaryWriter writer = ProprietaryWriterFactory.getWriter(pwp);
                if (logger.isLoggable(Level.FINER)) {
                    logger.log(Level.FINER, "Writer to use {0}", writer.getClass().getName());
                }
                writer.writeTo(pwp, urlConnection);
            }
            
            @Override
            public void useConnection(final HttpURLConnection urlConnection) throws CommandException, IOException {
                String resultMediaType = urlConnection.getContentType();