riak-admin icon indicating copy to clipboard operation
riak-admin copied to clipboard

PUT method on save not functioning

Open aarcro opened this issue 14 years ago • 1 comments

I had to change this: (riak.js line 40) options.method = key ? 'PUT' : 'POST'; to this: options.method = 'POST';

Using Chrome for my browser, if the type of a request is set to PUT it doesn't make it into the xhr request headers. Forcing the method to be POST in the save method makes the edit function work.

aarcro avatar Aug 17 '10 04:08 aarcro

thanks - the riak-js version this is running is old ... i first need to finish my work on the next release of riak-js (with good jquery support) in order to tackle these.

frank06 avatar Aug 17 '10 07:08 frank06