def _FormatHeaders(headers):
  assert compat.all(": " in header for header in headers)
  return "\n".join(headers)
Formats HTTP headers.
dataset/ETHPy150Open ganeti/ganeti/lib/rapi/testutils.py/_FormatHeaders