<div dir="ltr">Hello Dirk,<div><br></div><div>Hmm, I think you're right, I did not carefully look at the difference between GetCapabilities and GetMap requests.</div><div><br></div><div>WMS 1.3.0 spec:</div><div><div> (paragraph 6.2.4) .... In response to a GetCapabilities request (for which the VERSION parameter is </div><div>optional) that does not specify a version number, the server shall respond with the highest version it supports. </div><div>In response to a GetCapabilities request containing a version number that the server implements, the server </div><div>shall send that version.....</div></div><div><br></div><div>WMS 1.1.1 spec:</div><div>(paragraph 6.1.4)...If no version number is specified in the request, the server shall respond with the highest </div><div>version it understands and label the response accordingly. ...</div><div><br></div><div>I just tried GetCapabilities on MapProxy without version and received a version 1.1.1 capabilities document. However, MapProxy does also support 1.3.0. </div><div><br></div><div>I now believe you are right and the current MapProxy behaviour does not conform to this part of the specification.</div><div><br></div><div>Anne</div><div><br></div><div><br></div><div><span style="color:rgb(31,78,121);font-size:12.8000001907349px"><br></span></div><div><span style="color:rgb(31,78,121);font-size:12.8000001907349px"><br></span></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-06-24 8:16 GMT+02:00 <span dir="ltr"><<a href="mailto:dirk.thalheim@bkg.bund.de" target="_blank">dirk.thalheim@bkg.bund.de</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="DE" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f4e79">Hello Anne,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f4e79"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f4e79">thanks for your answer. I know, Version 1.3.0. introduced some confusing changes ;-)<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f4e79"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f4e79">Unfortunately I can’t find your statement for VERSION parameter requirement in the WMS specs.
<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f4e79"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f4e79">WMS 1.1.1 says:<u></u><u></u></span></p>
<p><u></u><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f4e79"><span>-<span style="font:7.0pt "Times New Roman"">
</span></span></span><u></u><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f4e79">GetCapabilities Operation: VERSION is optional<u></u><u></u></span></p>
<p><u></u><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f4e79"><span>-<span style="font:7.0pt "Times New Roman"">
</span></span></span><u></u><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f4e79">GetMap Operation: VERSION is required<u></u><u></u></span></p>
<p><u></u><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f4e79"><span>-<span style="font:7.0pt "Times New Roman"">
</span></span></span><u></u><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f4e79">“If no version number is specified in the request, the server shall respond with the highest version it understands
and label the response accordingly.”<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f4e79">WMS 1.3.0 says:<u></u><u></u></span></p>
<p><u></u><span lang="EN-US" style="font-family:"Calibri",sans-serif"><span>-<span style="font:7.0pt "Times New Roman"">
</span></span></span><u></u><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f4e79">“The VERSION parameter is mandatory in requests other than GetCapabilities.”</span><span lang="EN-US"><u></u><u></u></span></p>
<p><u></u><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f4e79"><span>-<span style="font:7.0pt "Times New Roman"">
</span></span></span><u></u><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f4e79">“In response to a GetCapabilities request (for which the VERSION parameter is optional) that does not specify
a version number, the server shall respond with the highest version it supports.”<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f4e79"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f4e79">So in my eyes MapProxy should respond with version 1.3.0 for GetCapabilities requests. For all other requests the VERSION
parameter is mandatory.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f4e79"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f4e79">Kind regards,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f4e79"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f4e79">Dirk<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Von:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Anne Blankert [mailto:<a href="mailto:anne.blankert@geodan.nl" target="_blank">anne.blankert@geodan.nl</a>]
<br>
<b>Gesendet:</b> Dienstag, 23. Juni 2015 17:41<br>
<b>An:</b> Thalheim, Dirk<br>
<b>Cc:</b> <a href="mailto:mapproxy@lists.osgeo.org" target="_blank">mapproxy@lists.osgeo.org</a><br>
<b>Betreff:</b> Re: [MapProxy] WMS default version<u></u><u></u></span></p><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">Hello Dirk,<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Newer does not always mean better. But that is probably not the reason for this case.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">In WMS specification 1.1.1., the VERSION parameter is optional.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">In WMS specification 1.3.0., the VERSION parameter is mandatory.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">So, if you do not specify a version, the service should fall back to 1.1.1.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Anne Blankert<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Geodan<u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">2015-06-23 16:33 GMT+02:00 <<a href="mailto:dirk.thalheim@bkg.bund.de" target="_blank">dirk.thalheim@bkg.bund.de</a>>:<u></u><u></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal"><span style="color:#1f4e79">Dear list,</span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:#1f4e79"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1f4e79">I’ve noticed following behavior in MapProxy: on WMS requests to MapProxy without a VERSION parameter it’s assumed that the default version
is 1.1.1. Shouldn’t this be 1.3.0 as this is the highest supported WMS version? </span>
<u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1f4e79"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1f4e79">It seems to be a hard coded behavior. It would be nice if this default version could be configured. Are there any plans to make this configurable
or increase the default version?</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1f4e79"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1f4e79">Kind regards,
</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1f4e79"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#595959">Dirk Thalheim</span><u></u><u></u></p>
<p class="MsoNormal" style="text-autospace:none">
<span lang="EN-US" style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#595959">_____________________________________</span><u></u><u></u></p>
<p class="MsoNormal" style="text-autospace:none">
<span lang="EN-US" style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#595959">Department GI 5</span><u></u><u></u></p>
<p class="MsoNormal" style="text-autospace:none">
<span lang="EN-US" style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#595959">Federal Agency for Cartography and Geodesy (BKG)</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#595959"><br>
Karl-Rothe-Str. 10 - 14, 04105 Leipzig <br>
phone: <a href="tel:%2B49%20%280%29341%205634%20311" target="_blank">+49 (0)341 5634 311</a>
</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#595959">personal email:
</span><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#595959"><a href="mailto:dirk.thalheim@bkg.bund.de" target="_blank"><span lang="EN-US" style="color:#595959">dirk.thalheim@bkg.bund.de</span></a></span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#595959">department email:
</span><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#595959"><a href="mailto:GI5@bkg.bund.de" target="_blank"><span lang="EN-US" style="color:#595959">GI5@bkg.bund.de</span></a></span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#595959">internet:
<a href="http://www.bkg.bund.de/" target="_blank"><span style="color:#595959">http://www.bkg.bund.de</span></a></span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#595959"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:#1f4e79"><img border="0" width="162" height="57" src="cid:image001.jpg@01D0AE54.4F487960"></span><u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
<p class="MsoNormal"><br>
_______________________________________________<br>
MapProxy mailing list<br>
<a href="mailto:MapProxy@lists.osgeo.org" target="_blank">MapProxy@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapproxy" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapproxy</a><u></u><u></u></p>
</blockquote>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div></div></div>
</div>
<br>_______________________________________________<br>
MapProxy mailing list<br>
<a href="mailto:MapProxy@lists.osgeo.org">MapProxy@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapproxy" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapproxy</a><br></blockquote></div><br></div>