add User-agent hdr; read and close the file upon http error
1 file changed