fix response encoding support (#276)
Merge pull request #277 from tomkralidis/issue-276

fix response encoding support (#276)