geopython / OWSLib

OWSLib is a Python package for client programming with Open Geospatial Consortium (OGC) web service (hence OWS) interface standards, and their related content models.
https://owslib.readthedocs.io
BSD 3-Clause "New" or "Revised" License
390 stars 276 forks source link

Enable providing and forwarding HTTP headers for endpoints #587

Closed justb4 closed 5 years ago

justb4 commented 5 years ago

Some OWS endpoint classes allow HTTP Headers via a headers dict structure to be passed on creation. For example WebMapService. But in this case these headers are only passed/forwarded when creating a WMS 1.3.0 instance.

For other OWS types like WFS, WMTS and TMS (and probably more) no headers can be passed.

This is needed in cases where a client needs to pass specific HTTP Header name/values, for example for Authentication via Bearer Token.

justb4 commented 5 years ago

I can work on this, PR upcoming.

cehbrecht commented 5 years ago

fixed by PR #613.