Explorar el Código

allow piping in request bodies on STDIN

George Baugh hace 4 meses
padre
commit
d3af88be4b
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      call.pl

+ 2 - 1
call.pl

@@ -19,7 +19,8 @@ my %env = (
     QUERY_STRING   => $ARGV[2],
     REQUEST_URI    => "http://$host/".$ARGV[1],
     HTTP_HOST      => $host,
-    'psgi.errors'    => *STDERR,
+    'psgi.errors'  => *STDERR,
+    'psgi.input'   => *STDIN,
 );
 
 sub emit_error {