enforce str to encoded_rquest return