code: public static void toTempFile(final HttpConfig config, final String contentType) {
          try {
              toFile(config, contentType, File.createTempFile("tmp", ".tmp"));
          }
          catch(IOException ioe) {
              throw new TransportingException(ioe);
          }
      }
docs: Downloads the content to a temporary file (*.tmp in the system temp directory) with the specified content type.
  
  @param config the `HttpConfig` instance
  @param contentType the content type