handle if content-type include charset and stuff
handle errors in cgitb traceback generation