Permalink
Browse files

Merge pull request #26 from kthakore/master

Missing content-type header
  • Loading branch information...
2 parents 16e5b66 + 47d702c commit 3762896cd33b1c19d2017bd97fe05cc31d216f5a @robinedwards robinedwards committed Apr 8, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/Net/Riak/Role/REST/MapReduce.pm
@@ -22,6 +22,7 @@ sub execute_job {
'POST', [$self->mapred_prefix]
);
$request->content($content);
+ $request->header( 'Content-Type' => 'application/json' );
my $response = $self->send_request($request);

0 comments on commit 3762896

Please sign in to comment.