We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents fc30017 + 0d72eb7 commit f3a9bd4Copy full SHA for f3a9bd4
tornado/test/web_test.py
@@ -710,8 +710,8 @@ class SetHeaderHandler(RequestHandler):
710
def get(self):
711
# tests the validity of web.RequestHandler._VALID_HEADER_CHARS
712
illegal_chars = [chr(o) for o in range(0, 0x20)]
713
- illegal_chars.append(chr(0x7f))
714
- illegal_chars.remove('\t')
+ illegal_chars.append(chr(0x7F))
+ illegal_chars.remove("\t")
715
for char in illegal_chars:
716
try:
717
self.set_header("X-Foo", "foo" + char + "bar")
0 commit comments