def _ParseHeader(header):
  key, _, value = header.partition(':')
  return key.strip(), value.strip()
Parses a str header into a (key, value) pair.
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/runtime/cgi.py/_ParseHeader