[MapProxy] urllib2 - why?

Tobias Wendorff tobias.wendorff at tu-dortmund.de
Thu May 14 03:11:05 PDT 2015

Hi there,

why is MapProxy using urllib(2) instead more awesome libraries like
"requests"? Sure, urllib(2) does the basic stuff MapProxy needs, but
even as general it tries to be, urllib still can't do keep-alive or
doesn't support socks proxies.

One of my customers had to use socks proxies to access his WMS.
So I've added a modified fork of SocksiPy as a workaround. Actually,
it's more a hack and it's not proven to be stable.

Is switching to a new HTTP libary already in the pipe or is this
case too specific?

Best regards,

More information about the MapProxy mailing list