def build_opener(self): """Builds the opener using (urllib2/urllib.request).build_opener. Subclasses can override this function to prodive custom openers. """ return urllib_build_opener()
def build_opener(self): return urllib_build_opener(AppHandler(self.app))