Lines Matching defs:html
51 # URL: http://www.faqs.org/rfcs/rfc2616.html
93 import html
114 <html lang="en">
125 </html>
128 DEFAULT_ERROR_CONTENT_TYPE = "text/html;charset=utf-8"
246 e.g. "text/html" or "text/plain".
482 'message': html.escape(message, quote=False),
483 'explain': html.escape(explain, quote=False)
713 for index in "index.html", "index.htm":
750 # https://tools.ietf.org/html/rfc7231#section-7.1.1.1
777 """Helper to produce a directory listing (absent index.html).
798 displaypath = html.escape(displaypath, quote=False)
802 r.append('<html lang="en">')
821 html.escape(displayname, quote=False)))
822 r.append('</ul>\n<hr>\n</body>\n</html>\n')
828 self.send_header("Content-type", "text/html; charset=%s" % enc)
1100 # Reference: http://hoohoo.ncsa.uiuc.edu/cgi/env.html