ClientId in both PBC and REST

Russell Brown russell.brown at me.com
Sat Jun 4 08:28:08 EDT 2011


On 4 Jun 2011, at 12:57, OJ Reeves wrote:

> Hi all,
> 
> I have a client which uses both the REST and PBC interfaces to Riak. When this client makes calls, I want to make sure that the same client ID is used for both of these interfaces. If I have an array of bytes which represents the PBC version of the client ID, is the REST version of this client ID (that goes into the X-Riak-ClientId header) just that same array of bytes base64 encoded?

Yes.

> If not, how do I correctly set the header so that the client IDs match?
> 
> Thanks for the help.
> 
> Cheers
> OJ
> 
> -- 
> 
> OJ Reeves
> http://buffered.io/
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20110604/5609a445/attachment.html>


More information about the riak-users mailing list