[Modified] get the Accept-Ranges and Transfer-Encoding when the response code is 200 or 206