enforce str to encoded_rquest return
Merge pull request #4170 from qunox/enforcestr

enforce str to encoded_rquest return