We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d673282 commit a9cca7dCopy full SHA for a9cca7d
src/azure_devtools/scenario_tests/preparers.py
@@ -105,7 +105,7 @@ def process_request(self, request):
105
quote_plus(self.moniker))
106
107
if is_text_payload(request) and request.body:
108
- body = str(request.body)
+ body = str(request.body, 'utf-8') if isinstance(request.body, bytes) else str(request.body)
109
if self.random_name in body:
110
request.body = body.replace(self.random_name, self.moniker)
111
0 commit comments