Explicitly set content type for MapReduce requests.
MapReduce requests explicitly require content type set to fix a XSRF issue.
Change content-type from text/json to application/json
…re attempting the test.
The second parameter of RiakMapReduce::add should be cast to a string
…rced a sting when the key is an integer. Prior to this change, one would get the following error message: An error occurred parsing the "inputs" field. Unrecognized format of input element: ["mybucket",123,null] Valid formats are: [Bucket, Key] [Bucket, Key, KeyData] where Bucket and Key are strings
fixing undefined variable $linkResultsFlag