mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 08:11:00 +00:00
Don't write empty values.
This commit is contained in:
parent
721e2c8277
commit
4fdc2179e2
@ -63,6 +63,7 @@ class FileLike:
|
||||
return result
|
||||
|
||||
def write(self, v):
|
||||
if v:
|
||||
try:
|
||||
return self.o.sendall(v)
|
||||
except SSL.SysCallError:
|
||||
|
Loading…
Reference in New Issue
Block a user