>
</code></dt>
<dd>
<details class="source">
<summary>
<span>Expand source code</span>
</summary>
<pre><code class="python">def get_headers(self) -&gt; List[Tuple[str, str]]:
    headers: List[Tuple[str, str]] = []
    for key, value in self._headers.items():
        if key.lower() == &#34;content-length&#34;:
            continue
        headers.append((key, value[0]))

    headers.append((&#34;content-length&#34;, str(len(self._body))))
    return headers</code></pre>
</details>
<div class="desc"></div>
<