1# test http put with request filter and request contentlength 2 3use strict; 4use warnings; 5 6our %args = ( 7 client => { 8 func => \&http_client, 9 header => { 10 'Content-Length' => 1, 11 }, 12 len => 1, 13 method => 'PUT', 14 }, 15 relayd => { 16 protocol => [ "http", 17 'match request path "/2"', 18 ], 19 loggrep => qr/done/, 20 }, 21 server => { 22 func => \&http_server, 23 }, 24 len => 1, 25 md5 => "68b329da9893e34099c7d8ad5cb9c940", 26); 27 281; 29