code: def build_extension(extensions: Sequence[ExtensionHeader]) -> str:
      
      return ", ".join(
          build_extension_item(name, parameters) for name, parameters in extensions
      )
docs: Unparse a ``Sec-WebSocket-Extensions`` header.
  
      This is the reverse of :func:`parse_extension`.