set response header for http client
do not download too long urls