if not content_type in ('text/html', 'text/xml',
'application/xhtml+xml'):
print("TROUBLE INTERPRETING URL: bad content_type " + content_type)
if not content_type in ('text/html', 'text/xml',
'application/xhtml+xml'):
print("TROUBLE INTERPRETING URL: bad content_type " + content_type)