Open letmaik opened 8 years ago
WIth proxy, a WMS URL like http://services.nationalmap.gov/arcgis/services/nhd/MapServer/WMSServer?request=GetCapabilities&service=WMS is transformed to http://services.nationalmap.gov/arcgis/services/nhd/MapServer/WMSServer before adding the parameters again.
But, when not using the proxy this stripping doesn't happen, so the result is something like: http://services.nationalmap.gov/arcgis/services/nhd/MapServer/WMSServer?request=GetCapabilities&service=WMS&REQUEST=GetCapabilities&SERVICE=WMS
The only work-around currently is to define the resource url without parameters: http://services.nationalmap.gov/arcgis/services/nhd/MapServer/WMSServer Otherwise some servers just fail with something like "cannot parse request".
Both scenarios, with and without proxy should behave identically.
See also https://github.com/ckan/ckanext-geoview/pull/23
WIth proxy, a WMS URL like http://services.nationalmap.gov/arcgis/services/nhd/MapServer/WMSServer?request=GetCapabilities&service=WMS is transformed to http://services.nationalmap.gov/arcgis/services/nhd/MapServer/WMSServer before adding the parameters again.
But, when not using the proxy this stripping doesn't happen, so the result is something like: http://services.nationalmap.gov/arcgis/services/nhd/MapServer/WMSServer?request=GetCapabilities&service=WMS&REQUEST=GetCapabilities&SERVICE=WMS
The only work-around currently is to define the resource url without parameters: http://services.nationalmap.gov/arcgis/services/nhd/MapServer/WMSServer Otherwise some servers just fail with something like "cannot parse request".
Both scenarios, with and without proxy should behave identically.