Forráskód Böngészése

allow piping in request bodies on STDIN

George Baugh 4 hónapja
szülő
commit
d3af88be4b
1 módosított fájl, 2 hozzáadás és 1 törlés
  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 {