Skip to content

Commit 474cce1

Browse files
authored
Ignore utf-8 decoding errors within event core (#961)
1 parent 67bf049 commit 474cce1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

proxy/http/proxy/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -886,7 +886,7 @@ def emit_request_complete(self) -> None:
886886
text_(k): text_(v[1])
887887
for k, v in self.request.headers.items()
888888
},
889-
'body': text_(self.request.body)
889+
'body': text_(self.request.body, errors='ignore')
890890
if self.request.method == httpMethods.POST
891891
else None,
892892
},

0 commit comments

Comments
 (0)