Skip to content
Permalink
Browse files

WMS capabilities HTTP Get namespace fix

  • Loading branch information
blazek committed May 8, 2013
1 parent 7aa0dd5 commit 1877eb54098b9d413238bbf0851bb79d1a80d54e
Showing with 6 additions and 2 deletions.
  1. +6 −2 src/providers/wms/qgswmsprovider.cpp
@@ -2036,12 +2036,16 @@ void QgsWmsProvider::parseHttp( QDomElement const & e, QgsWmsHttpProperty& httpP
QDomElement e1 = n1.toElement(); // try to convert the node to an element.
if ( !e1.isNull() )
{
if ( e1.tagName() == "Get" )
QString tagName = e1.tagName();
if ( tagName.startsWith( "wms:" ) )
tagName = tagName.mid( 4 );

if ( tagName == "Get" )
{
QgsDebugMsg( " Get." );
parseGet( e1, httpProperty.get );
}
else if ( e1.tagName() == "Post" )
else if ( tagName == "Post" )
{
QgsDebugMsg( " Post." );
parsePost( e1, httpProperty.post );

0 comments on commit 1877eb5

Please sign in to comment.
You can’t perform that action at this time.