geosolutions-it/MapStore

Fail to open WMS with 301 redirection

Closed this issue · 1 comments

MapStore cannot open a WMS where a permanent redirection is performed (HTTP code 301); e.g. http://emis.jrc.ec.europa.eu/webservices/4km/wms/modisa?dataset=aph .
Error returned: The WMS Capabilities cannot be added due to problems server side - Invalid capabilities document.

This issue is caused by this problem in the proxy. geosolutions-it/http-proxy#35
The HTTP code 301 is not manged by the proxy.