an><span style=display:flex><span>}
</span></span></code></pre></div><h2 id=the-test>The Test
<a class=heading-link href=#the-test><i class="fa-solid fa-link" aria-hidden=true title="Link to heading"></i>
<span class=sr-only>Link to heading</span></a></h2><p>With our infinite reader ready to rock, we can write the test.
Simply create a request with our custom <code>io.Reader</code> and then try to read more than <code>MaxRequestBodySize</code> from it (just one extra byte should suffice).
If everything is w