[Rt-commit] r2484 - in HTTP-Server-Simple: . lib/HTTP/Server

jesse at bestpractical.com jesse at bestpractical.com
Mon Mar 21 11:03:29 EST 2005


Author: jesse
Date: Mon Mar 21 11:03:28 2005
New Revision: 2484

Modified:
   HTTP-Server-Simple/   (props changed)
   HTTP-Server-Simple/lib/HTTP/Server/Simple.pm
Log:
 r9495 at hualien:  jesse | 2005-03-22 00:02:44 +0800
 binmode STDIN to make file uploads not suck


Modified: HTTP-Server-Simple/lib/HTTP/Server/Simple.pm
==============================================================================
--- HTTP-Server-Simple/lib/HTTP/Server/Simple.pm	(original)
+++ HTTP-Server-Simple/lib/HTTP/Server/Simple.pm	Mon Mar 21 11:03:28 2005
@@ -152,6 +152,7 @@
     
             # Default to unencoded, raw data out.
             # if you're sending utf8 and latin1 data mixed, you may need to override this
+            binmode STDIN, ':raw';
             binmode STDOUT, ':raw';
 
 


More information about the Rt-commit mailing list