CRLFField return binary data for get_data()
This commit is contained in:
parent
078273f49f
commit
706c39f7bb
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue