Re: Protobufs & HTTP

2010-04-20 Thread Eric Gaumer
On Tue, Apr 20, 2010 at 11:49 PM, Jon Meredith wrote: > Hi Eric, > > For the HTTP interface to work correctly you need to supply a content type > when you do your updated - if you add something like > > request.content.content_type = 'application/json' > > Then you should be in business. Th

Re: Protobufs & HTTP

2010-04-20 Thread Jon Meredith
Hi Eric, For the HTTP interface to work correctly you need to supply a content type when you do your updated - if you add something like request.content.content_type = 'application/json' Then you should be in business. The python client at http://bitbucket.org/basho/riak-python-client i

Protobufs & HTTP

2010-04-20 Thread Eric Gaumer
If I add some data using the protobufs interface, can I retrieve that data over HTTP? I'm getting an error when I try to GET the id but the return_body looks proper. = import socket from struct import * import riakclient_pb2 s = socket.socket(socket.AF_