modify download with httpclient