+ - Allow headers on CLI calls
+
+0.013 - 2012-04-03
- Fix a weird interaction between match-spec parsing and module loading
that was causing brokenness and test failures with perl 5.8.8
my $request = HTTP::Request->new($method => $path);
+ my @params;
+
+ while (my ($header, $value) = splice(@rest, 0, 2)) {
+ unless ($header =~ s/:$//) {
+ push @params, $header, $value;
+ }
+ $request->headers->push_header($header, $value);
+ }
+
if (($method eq 'POST' or $method eq 'PUT') and @rest) {
my $content = do {
require URI;