There are many example in urllib.request documentation that need to be updated as they no longer works as expected. In the following example, we are sending a data-stream to the stdin of a CGI and ...
Right now, we have some code copied over from pip to ensure that urllib(2) will verify SSL certificates and so on. I think we are better off replacing the lower-level urllib(2) code with the requests ...