We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8c2bc8 commit 1e03a04Copy full SHA for 1e03a04
1 file changed
ietf/submit/parsers/plain_parser.py
@@ -32,7 +32,7 @@ def parse_max_size(self):
32
def parse_file_charset(self):
33
import magic
34
self.fd.file.seek(0)
35
- content = self.fd.file.read()
+ content = self.fd.file.read(4096)
36
if hasattr(magic, "open"):
37
m = magic.open(magic.MAGIC_MIME)
38
m.load()
0 commit comments