render

abstract fun render(flatten: Boolean = true): Map<String, List<String>>

Render these fetch headers into a raw map where the keys are normalized HTTP header names, and the values are either rendered into a single comma-separated string, or expressed literally, depending on the value of flatten.

Return

Raw map as requested.

Parameters

flatten

Whether to flatten repeated values into a single comma-separated value.