File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -333,9 +333,12 @@ namespace QgsWfs
333
333
QDomElement getElement = doc.createElement ( QStringLiteral ( " ows:Get" ) );
334
334
getElement.setAttribute ( QStringLiteral ( " xlink:type" ), QStringLiteral ( " xlink:simple" ) );
335
335
getElement.setAttribute ( QStringLiteral ( " xlink:href" ), hrefString );
336
- QDomElement postElement = getElement.cloneNode ().toElement ();
337
336
httpElement.appendChild ( getElement );
337
+
338
+ QDomElement postElement = doc.createElement ( QStringLiteral ( " ows:Post" ) );
339
+ postElement.setAttribute ( QStringLiteral ( " xlink:href" ), hrefString );
338
340
httpElement.appendChild ( postElement );
341
+
339
342
dcpElement.appendChild ( httpElement );
340
343
operationElement.appendChild ( dcpElement );
341
344
You can’t perform that action at this time.
0 commit comments