bpo-8077 Fix CGI Handling of POST on Windows. by orsenthil · Pull Request #25652 · python/cpython

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't have windows, so I didn't test even the existing code in Windows. I believe that even the existing code is not going to work on windows due the condition nbytes > 0

nbytes is from Content-Length and I see that https://bugs.python.org/issue24764 Content-Length for multi-part form data was removed.

When I tried to add test, I could not exercise this.

  • Before any change is done, a test case and testing under Windows is required for this Bugfix and Patch.