cockpit_web_response_get_protocol (CockpitWebResponse *self,
                                   GHashTable *headers)
{
  return cockpit_connection_get_protocol (self->io, headers, self->flags & COCKPIT_WEB_RESPONSE_FOR_TLS_PROXY);
}
cockpit_web_response_get_protocol (CockpitWebResponse *self,
                                   GHashTable *headers)
{
  return cockpit_connection_get_protocol (self->io, headers, self->flags & COCKPIT_WEB_RESPONSE_FOR_TLS_PROXY);
}