diff Lib/test/test_httpservers.py @ 76219:89eeaa18700f 2.7

fix the incorrect changes made for PATH_INFO value - Issue10484
author Senthil Kumaran <senthil@uthcode.com>
date Wed, 11 Apr 2012 03:07:57 +0800
parents bab9f29c93fd
children c67efb8ffca4
line wrap: on
line diff
--- a/Lib/test/test_httpservers.py	Tue Apr 10 14:53:36 2012 -0400
+++ b/Lib/test/test_httpservers.py	Wed Apr 11 03:07:57 2012 +0800
@@ -419,6 +419,7 @@
             BaseTestCase.tearDown(self)
 
     def test_url_collapse_path_split(self):
+        # verify tail is the last portion and head is the rest on proper urls
         test_vectors = {
             '': ('/', ''),
             '..': IndexError,
@@ -429,7 +430,6 @@
             '/.//': ('/', ''),
             'cgi-bin/file1.py': ('/cgi-bin', 'file1.py'),
             '/cgi-bin/file1.py': ('/cgi-bin', 'file1.py'),
-            '/cgi-bin/file1.py/PATH-INFO': ('/cgi-bin', 'file1.py/PATH-INFO'),
             'a': ('/', 'a'),
             '/a': ('/', 'a'),
             '//a': ('/', 'a'),