We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cab17f7 + 0c5005e commit 0ddafbdCopy full SHA for 0ddafbd
codegens/python-requests/lib/python-requests.js
@@ -170,7 +170,7 @@ self = module.exports = {
170
snippet += !options.followRedirect ? ', allow_redirects=False' : '';
171
snippet += options.requestTimeout !== 0 ? `, timeout=${options.requestTimeout}` : '';
172
snippet += ')\n\n';
173
- snippet += 'print(response.text.encode(\'utf8\'))\n';
+ snippet += 'print(response.text)\n';
174
175
callback(null, snippet);
176
}
0 commit comments