def _WriteErrorToOutput(status, message, outfile):
  logging.error(message)
  outfile.write('Status: %s\r\n\r\n%s' % (status, message))
Writes an error status response to the response outfile.
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/tools/dev_appserver.py/_WriteErrorToOutput