예제 #1
0
파일: html.py 프로젝트: Adastra-thw/Tortazo
 def _pre_parse(self, http_resp):
     """
     :param http_resp: The HTTP response document that contains the
     HTML document inside its body.
     """
     SGMLParser._pre_parse(self, http_resp)
     assert self._base_url, 'The base URL must be set.'
예제 #2
0
 def _pre_parse(self, http_resp):
     """
     :param http_resp: The HTTP response document that contains the
     HTML document inside its body.
     """
     SGMLParser._pre_parse(self, http_resp)
     assert self._base_url, 'The base URL must be set.'
예제 #3
0
 def _pre_parse(self, HTTPResponse):
     """
     :param HTTPResponse: The HTTP response document that contains the WML
     document inside its body.
     """
     
     SGMLParser._pre_parse(self, HTTPResponse)
     assert self._base_url is not None, 'The base URL must be set.'