PUT method on save not functioning
aarcro opened this issue · 1 comments
aarcro commented
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.
frank06 commented
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.