lev
lev copied to clipboard
Use shlex.js to parse params in PUT properly
Allows for escaped or quotes keys with space.
PUT "key key key" test test test will create key 'key key key' with value 'test test test'.
PUT "key key key" test \"quote\" test will create key 'key key key' with value 'test "quote" test'.
It most likely screws up with JSON data (may require manual escaping of double quotes) but it's just something i done very fast since I had to edit manually key with spaces in it.