[misc] adding encoding directive
[misc] adding put and delete support