added encoding to options to be called on response
v2.1.0