From 500cccf7b32af4ef65fe5da8eab8d5206cb0fdac Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Sun, 1 Mar 2020 19:18:23 +1100 Subject: Fix simple typo: seperated -> separated There is a small typo in waitress/parser.py. Should read `separated` rather than `seperated`. --- waitress/parser.py | 4 ++-- waitress/tests/test_wasyncore.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/waitress/parser.py b/waitress/parser.py index fef8a3d..53072b5 100644 --- a/waitress/parser.py +++ b/waitress/parser.py @@ -224,8 +224,8 @@ class HTTPRequestParser(object): value = value.strip(b" \t") key1 = tostr(key.upper().replace(b"-", b"_")) # If a header already exists, we append subsequent values - # seperated by a comma. Applications already need to handle - # the comma seperated values, as HTTP front ends might do + # separated by a comma. Applications already need to handle + # the comma separated values, as HTTP front ends might do # the concatenation for you (behavior specified in RFC2616). try: headers[key1] += tostr(b", " + value) diff --git a/waitress/tests/test_wasyncore.py b/waitress/tests/test_wasyncore.py index 9c23509..42cd306 100644 --- a/waitress/tests/test_wasyncore.py +++ b/waitress/tests/test_wasyncore.py @@ -125,7 +125,7 @@ def gc_collect(): # pragma: no cover In non-CPython implementations of Python, this is needed because timely deallocation is not guaranteed by the garbage collector. (Even in CPython this can be the case in case of reference cycles.) This means that __del__ - methods may be called later than expected and weakrefs may remain alive for + methods may be called later than expected and weakref may remain alive for longer than expected. This function tries its best to force all garbage objects to disappear. """ -- cgit v1.2.1