maybe I could provide some piece of "do not reinvent the wheel".
The same problem existed in perl LWP 8 years ago.
Implementation was simple but yielded another supplemental problem:
as soon as the proxy needs a user/password authentication there is some more code needed.
So dear python folks, look into LWP and port that to urllib2
On the other hand I wonder why apport doesn't just use wget or curl, which both work fine. Fear of code injection? Well there are cookbooks out there how to pass parameters to scripts without fear of executing the parameters.
Where are the good old times of unix with the philosophy "one tool for one task"?
maybe I could provide some piece of "do not reinvent the wheel".
The same problem existed in perl LWP 8 years ago.
Implementation was simple but yielded another supplemental problem:
as soon as the proxy needs a user/password authentication there is some more code needed.
So dear python folks, look into LWP and port that to urllib2
On the other hand I wonder why apport doesn't just use wget or curl, which both work fine. Fear of code injection? Well there are cookbooks out there how to pass parameters to scripts without fear of executing the parameters.
Where are the good old times of unix with the philosophy "one tool for one task"?