title: IFormFile content is empty when sent from client
body: <p>I have a python client that is sending a file to a dotnet6 backend.</p>
  <pre><code>files = {'file': open(str(file_uuid), 'rb')}
  requests.post(' https://localhost:5001/Measurement', files=files, verify=False)
  </code></pre>
  <p>By the time this hits my controller the length is 0.
  <a href="https://i.stack.imgur.com/dsHTe.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dsHTe.png" alt="enter image description here" /></a></p>
  <pre><code>    [HttpPost(&quot;&quot;)]
      [AllowAnonymous]
      [Consumes(&quot;multipart/form-data&quot;)]
      [DisableRequestSizeLimit] 
      public async Task&lt;IActionResult&gt; Post(IFormFile file)
      {
          await using var memoryStream = new MemoryStream();
          await file.CopyToAsync(memoryStream);
          memoryStream.Position = 0;
  </code></pre>
  <p>When I send this same file through Insomnia I don't have this issue.</p>