public static void toFile ( final HttpConfig config , final String contentType , final File file ) { config . context ( contentType , ID , file ) ; config . getResponse ( ) . parser ( contentType , Download :: fileParser ) ; }
Downloads the content to a specified file with the specified content type .