<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Jul 12, 2016 at 10:31 AM, Tom Chadwin <span dir="ltr"><<a href="mailto:tom.chadwin@nnpa.org.uk" target="_blank">tom.chadwin@nnpa.org.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Thanks - I'll try it. What do I detect in the response to know it's QGIS<br>
Server? In fact, does someone have a publicly accessible QGIS Server I can<br>
issue that request to?<br>
<br>
Thanks<br>
<br>
Tom<br>
<br></blockquote><div><br><br></div><div>I think that you could check that the server does not return an exception. <br></div></div><br></div><div class="gmail_extra">If REQUEST=GetProjectSettings does not return an exception it means that it's QGIS.<br><br><br></div><div class="gmail_extra">Example:<br></div><div class="gmail_extra">QGIS:<br></div><div class="gmail_extra"><a href="http://demo.qgis.org/cgi-bin/qgis_mapserv.fcgi?map=/web/demos/south_perth/project.qgs&SERVICE=WMS&REQUEST=GetProjectSettings">http://demo.qgis.org/cgi-bin/qgis_mapserv.fcgi?map=/web/demos/south_perth/project.qgs&SERVICE=WMS&REQUEST=GetProjectSettings</a><br><br>Not QGIS:<br><a href="http://demo.mapserver.org/cgi-bin/mapserv?map=/osgeo/mapserver/msautotest/world/world.map&SERVICE=WMS&REQUEST=GetProjectSettings">http://demo.mapserver.org/cgi-bin/mapserv?map=/osgeo/mapserver/msautotest/world/world.map&SERVICE=WMS&REQUEST=GetProjectSettings</a><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Alessandro Pasotti<br>w3:   <a href="http://www.itopen.it" target="_blank">www.itopen.it</a></div>
</div></div>