3 ms·
net/http is production ready. Performant, handles h2, terminates SSL, etc. It’s nothing like the toy HTTP severs shipped with some other languages, e.g. Python’
by oefrha 4y ago
net/http is production ready. Performant, handles h2, terminates SSL, etc. It’s nothing like the toy HTTP severs shipped with some other languages, e.g. Python’s http.server. The standard answer to “why would you do that” is “why not”.