Skip to content

Commit

Permalink
Add license header to postrequesthandler, clean old code section
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco Hugentobler committed Jun 18, 2011
1 parent 7fe9df9 commit e605dcc
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/mapserver/qgshttprequesthandler.cpp
Expand Up @@ -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
{
Expand Down
17 changes: 17 additions & 0 deletions src/mapserver/qgspostrequesthandler.cpp
@@ -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"

Expand Down
17 changes: 17 additions & 0 deletions src/mapserver/qgspostrequesthandler.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

Expand Down

0 comments on commit e605dcc

Please sign in to comment.