gicait / geoserver-rest

Python library for management of geospatial data in GeoServer.
https://geoserver-rest.readthedocs.io
MIT License
195 stars 77 forks source link

[Enhancement] Handling proxy / proxies in requests from geoserver-rest #82

Closed maximepel closed 2 months ago

maximepel commented 2 years ago

I was using this library and I figured out I had to set my proxies to "None" in order to avoid some firewall blocking problems...

PROXIES = { 'http': None, 'https': None, } r = requests.post( url, data, auth=(self.username, self.password), headers=self.headers, proxies=PROXIES)

I had to rewrite custom functions from the geoserver-rest -> geo.Geoserver.Geoserver

I see no issue talking about that. Is this something I missed or is it not implemented on purpose maybe?

iamtekson commented 1 year ago

Hello @maximepel, Please contribute to the repo, if you like to resolve this issue. Thank you!

iboates commented 2 months ago

@iamtekson I'm closing this since it should be handled in the latest PR (see mention)

iamtekson commented 2 months ago

Yes, it should work now. @maximepel, if you have time, can you please test it?