[Bps-public-commit] r19136 - in HTTP-Server-Simple: .

jesse at bestpractical.com jesse at bestpractical.com
Fri Apr 10 21:19:43 EDT 2009


Author: jesse
Date: Fri Apr 10 21:19:42 2009
New Revision: 19136

Modified:
   HTTP-Server-Simple/   (props changed)
   HTTP-Server-Simple/t/04cgi.t

Log:
 r61414 at 17h:  jesse | 2009-04-10 20:57:00 -0400
 HTTP 0.9 requests aren't decoded as we'd expect


Modified: HTTP-Server-Simple/t/04cgi.t
==============================================================================
--- HTTP-Server-Simple/t/04cgi.t	(original)
+++ HTTP-Server-Simple/t/04cgi.t	Fri Apr 10 21:19:42 2009
@@ -60,13 +60,13 @@
   }
 
   like(
-       fetch("GET /cgitest/REQUEST_URI?foo%3Fbar",""),
+       fetch("GET /cgitest/REQUEST_URI?foo%3Fbar HTTP/1.0",""),
        qr/foo%3Fbar/,
        "Didn't decode already"
       );
 
   like(
-       fetch("GET /cgitest/foo%2Fbar/PATH_INFO",""),
+       fetch("GET /cgitest/foo%2Fbar/PATH_INFO HTTP/1.0",""),
        qr|foo/bar|,
        "Did decode already"
       );



More information about the Bps-public-commit mailing list