OWSLib icon indicating copy to clipboard operation
OWSLib copied to clipboard

WCS - Protocol name repeated twice in base_url

Open ymoisan opened this issue 5 years ago • 0 comments

GetCoverage call to a MapServer 7.

With an initial value in self.url that is correctly constructed, e.g. :

http://myserver:8080/...

I get a value of base_url with twice the protocol name, e.g. :

http://http://myserver:8080?SERVICE=WCS&VERSION=1.0.0...

That obviously kills the request. I'm trying to see where that double http comes from but in the meantime just using base_url = self.url works.

What's intriguing is that for some WCS 1.0.0 MapServer services I don't get the doubling but for ours I do. As shown above, our MapServer instance (not public facing) serves on 8080. Other MapServer WCS sites I tried served on 80 or 443. Will try to document more as I find things out.

ymoisan avatar Jul 05 '19 19:07 ymoisan