code: def _add_response_info(self):
          
          self.charset = httputil.get_charset(self.headers)
          self.set_content_type()
          self.add_size_info()
docs: Set info from established HTTP(S) connection.