[mapserver-commits] r13136 - trunk/msautotest/pymod
svn at osgeo.org
svn at osgeo.org
Sun Feb 12 04:45:59 EST 2012
Author: rouault
Date: 2012-02-12 01:45:59 -0800 (Sun, 12 Feb 2012)
New Revision: 13136
Modified:
trunk/msautotest/pymod/mstestlib.py
Log:
msautotest: clean-up environment after tests that use POST method
Modified: trunk/msautotest/pymod/mstestlib.py
===================================================================
--- trunk/msautotest/pymod/mstestlib.py 2012-02-09 19:39:24 UTC (rev 13135)
+++ trunk/msautotest/pymod/mstestlib.py 2012-02-12 09:45:59 UTC (rev 13136)
@@ -466,6 +466,11 @@
os.system( command )
+ if begin != -1 and end != -1 and begin < end:
+ del os.environ['CONTENT_LENGTH']
+ del os.environ['REQUEST_METHOD']
+ del os.environ['MS_MAPFILE']
+
if demime:
demime_file( 'result/'+out_file )
if deversion:
More information about the mapserver-commits
mailing list