Skip to content
Permalink
Browse files

Add license header to postrequesthandler, clean old code section

  • Loading branch information
Marco Hugentobler
Marco Hugentobler committed Jun 18, 2011
1 parent 7fe9df9 commit e605dccfb74f8d2eb611babbd3a2fbb85652b4a8
@@ -389,13 +389,6 @@ QString QgsHttpRequestHandler::readPostBody() const
if ( input != NULL )
{
inputString = QString::fromLocal8Bit( input );
#ifdef WIN32 //cut off any strange charactes at the end of the file
int lastClosedBracketPos = inputString.lastIndexOf( ">" );
if ( lastClosedBracketPos != -1 )
{
inputString.truncate( lastClosedBracketPos + 1 );
}
#endif //WIN32
}
else
{
@@ -1,3 +1,20 @@
/***************************************************************************
qgspostrequesthandler.cpp
------------------------------
begin : 2011
copyright : (C) 2011 by Marco Hugentobler
email : marco dot hugentobler at sourcepole dot ch
***************************************************************************/

/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/

#include "qgspostrequesthandler.h"
#include "qgslogger.h"

@@ -1,3 +1,20 @@
/***************************************************************************
qgspostrequesthandler.h
------------------------------
begin : 2011
copyright : (C) 2011 by Marco Hugentobler
email : marco dot hugentobler at sourcepole dot ch
***************************************************************************/

/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/

#ifndef QGSPOSTREQUESTHANDLER_H
#define QGSPOSTREQUESTHANDLER_H

0 comments on commit e605dcc

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