3 ms·
Does`python -m http.server 8000` not work for local development?
by ChrisSD 7y ago
Does`python -m http.server 8000` not work for local development?
- kevingadd 7y agoYou need way more configuration than that, python's http server doesn't handle keepalive and threading correctly (or didn't when I last used it, maybe that's fixed in 3). I historically had to use IIS or Apache, and at work we used a full Apache install. If you used python your performance was much worse if your application worked at all. For C# apps you can at least just spin up a HTTPD directly in your app using system APIs, but it's also kind of flaky.