equal
deleted
inserted
replaced
707 or 'Opera' in useragent): |
707 or 'Opera' in useragent): |
708 return False |
708 return False |
709 return True |
709 return True |
710 |
710 |
711 def html_content_type(self): |
711 def html_content_type(self): |
712 if self.xhtml_browser(): |
712 if not self.vreg.config['force-html-content-type'] and self.xhtml_browser(): |
713 return 'application/xhtml+xml' |
713 return 'application/xhtml+xml' |
714 return 'text/html' |
714 return 'text/html' |
715 |
715 |
716 from cubicweb import set_log_methods |
716 from cubicweb import set_log_methods |
717 set_log_methods(CubicWebRequestBase, LOGGER) |
717 set_log_methods(CubicWebRequestBase, LOGGER) |