Skip to content
Permalink
Browse files

Added comments

  • Loading branch information
elpaso committed Sep 7, 2015
1 parent 33cbe22 commit 5881008c8dab218ee902eb9ae733438a1d405a5e
Showing with 3 additions and 2 deletions.
  1. +1 −0 src/server/qgshttprequesthandler.cpp
  2. +2 −2 src/server/qgsserver.cpp
@@ -220,6 +220,7 @@ void QgsHttpRequestHandler::sendResponse()

QPair<QByteArray, QByteArray> QgsHttpRequestHandler::getResponse()
{
// TODO: check that this is not an evil bug!
QPair<QByteArray, QByteArray> response( mResponseHeader, mResponseBody );
return response;
}
@@ -566,8 +566,8 @@ QPair<QByteArray, QByteArray> QgsServer::handleRequest( const QString queryStrin
if ( logLevel < 1 )
{
QgsMessageLog::logMessage( "Request finished in " + QString::number( time.elapsed() ) + " ms", "Server", QgsMessageLog::INFO );
}
// Returns the header and response bytestreams
}
// Returns the header and response bytestreams (to be used in Python bindings)
return theRequestHandler->getResponse( );
}

0 comments on commit 5881008

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