my %data = :72foo, :bar<♵>;
my $ua = HTTP::UserAgent.new;
my $res;
lives-ok { $res = $ua.post(URI.new($uri), %data, X-Foo => "foodle") }, "new make post";
it fails with an error
# Type check failed in binding to parameter '$s'; expected Str but got Int (72)
This leads to several errors down the line, including perl6-community-modules/perl6-WWW#17 and finally rakudo/rakudo#2779
If the data in a form is numeric, like here:
it fails with an error
This leads to several errors down the line, including perl6-community-modules/perl6-WWW#17 and finally rakudo/rakudo#2779