le="Collapse docstring"></span></header><section><div><pre><code class="language-julia hljs">mg_headers(message::MgHttpMessage) -&gt; NamedTuple</code></pre><p>Extracts all HTTP headers from an <code>MgHttpMessage</code> into a Julia <code>Named Tuple</code>.</p><p><strong>Arguments</strong></p><ul><li><code>message::MgHttpMessage</code>: The HTTP message object.</li></ul><p><strong>Returns</strong></p><p><code>NamedTuple</code>: A dictionary where keys are header names and values are header values.</p></di