def _default_content_type_rewriter(state):
 if (not ('Content-Type' in state.headers)):
  state.headers['Content-Type'] = 'text/html'

def _default_content_type_rewriter ( state ) : if ( not ( 'Content-Type' in state . headers ) ) : state . headers [ 'Content-Type' ] = 'text/html'
set the default content-type header .