updated http connection to pay attention to content fetched