def requestHandler(config_hint, path_info, query_string=None):
 (status_code, headers, content) = requestHandler2(config_hint, path_info, query_string)
 mimetype = headers.get('Content-Type')
 return (mimetype, content)

def requestHandler ( config_hint , path_info , query_string = None ) : ( status_code , headers , content ) = requestHandler2 ( config_hint , path_info , query_string ) mimetype = headers . get ( 'Content-Type' ) return ( mimetype , content )
generate a mime-type and response body for a given request .