Hi Bryan - I'm now running 1.0.1 but the keys were inserted under 0.14. I tried your test and it worked fine. So, maybe I'm caught between inserting under an old version and now reading under another?
Thanks for your help. Jim On 10/25/11 7:02 AM, "Bryan Fink" <br...@basho.com> wrote: >On Tue, Oct 25, 2011 at 12:54 AM, Jim Adler <jim.ad...@comcast.net> wrote: >> Ok, this is a little simpler but I'm not sure how to proceed. When I >>pull >> the keys via <bucket>?keys=stream API, I have a key "name-this\nBob". >>But >> fetching it gets me a 404 not found error. I've tried %0D%0A (and other >> variants) in the API call but no luck. Any way to delete this errant >>key? >> Jim > >Hi, Jim. Just %0A seems to work for me: > >$ curl -X PUT -H "content-type: text/plain" >http://localhost:8098/riak/jim/one-two%0Athree --data "hello" > >$ curl http://localhost:8098/riak/jim?keys=true >{"keys":["one-two\nthree"]} > >$ curl http://localhost:8098/riak/jim/one-two%0Athree >hello > >$ curl -X DELETE http://localhost:8098/riak/jim/one-two%0Athree >$ curl http://localhost:8098/riak/jim/one-two%0Athree >not found > >That was on the tip of riak's master branch. If you're still having >trouble, could you please reply with the Riak version you're using (I >know that 0.14 had an odd encoding behavior that was fixed in 1.0[1]), >as well as your choice of client and a snippet or two of code? > >-Bryan > >[1] https://issues.basho.com/show_bug.cgi?id=617 _______________________________________________ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com