Skip to content

Commit b733bde

Browse files
author
gsherman
committedOct 26, 2008

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

‎src/core/qgshttptransaction.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,19 +116,19 @@ bool QgsHttpTransaction::getSynchronously( QByteArray &respondedContent, int red
116116
//
117117
// gsherman 2008-10-24 - Not sure if the above still holds true. Commenting
118118
// out the removal for testing purposes
119-
QString pathAndQuery = httpurl;//.remove( 0,
120-
// httpurl.indexOf( qurl.path() ) );
119+
// QString pathAndQuery = httpurl.remove( 0,
120+
// httpurl.indexOf( qurl.path() ) );
121121

122122

123123
if ( !postData ) //do request with HTTP GET
124124
{
125-
header.setRequest("GET", pathAndQuery);
125+
header.setRequest("GET", httpurl);
126126
// do GET using header containing user-agent
127127
httpid = http->request(header);
128128
}
129129
else //do request with HTTP POST
130130
{
131-
header.setRequest("POST", pathAndQuery);
131+
header.setRequest("POST", httpurl);
132132
// do POST using header containing user-agent
133133
httpid = http->request(header, *postData);
134134
}

0 commit comments

Comments
 (0)
Please sign in to comment.