CRLFField return binary data for get_data()

This commit is contained in:
Mark Riedesel 2017-10-29 10:41:52 -05:00
parent 078273f49f
commit 706c39f7bb

View file

@ -220,7 +220,7 @@ class CRLFField(TextField):
value = property(__getvalue, __setvalue)
def get_data(self):
return '\r\n'
return b'\r\n'
def parse(self, s):
self.value = s