We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc30017 commit 0d72eb7Copy full SHA for 0d72eb7
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