Skip to content

Commit

Permalink
Changed http get in wfs provider to use path and query string instead…
Browse files Browse the repository at this point in the history
… of full url. Full url does not work with some servers

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9489 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Oct 17, 2008
1 parent cc7afd0 commit 804d679
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/providers/wfs/qgswfsdata.cpp
Expand Up @@ -89,7 +89,9 @@ int QgsWFSData::getWFSData()
{
mHttp.setHost( requestUrl.host() );
}
mHttp.get( mUri );

//mHttp.get( mUri );
mHttp.get(requestUrl.path() + "?" + QString(requestUrl.encodedQuery()));


//loop to read the data
Expand Down

0 comments on commit 804d679

Please sign in to comment.