Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #26 from kthakore/master

Missing content-type header
  • Loading branch information...
commit 3762896cd33b1c19d2017bd97fe05cc31d216f5a 2 parents 16e5b66 + 47d702c
@robinedwards robinedwards authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  lib/Net/Riak/Role/REST/MapReduce.pm
View
1  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);
Please sign in to comment.
Something went wrong with that request. Please try again.