diff options
author | Akhil MS <51810638+AkhilmsAchu@users.noreply.github.com> | 2022-12-22 10:22:39 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-22 10:22:39 +0530 |
commit | 3b0e7d61d745ff8fbdef4e2afac5f64ca6b8a58c (patch) | |
tree | 248ad1ff5201334e3404a7458a794a26d52e99f7 /src/waitress | |
parent | 3dbffbf77de09ed8b6c2d419e4504c2fb600ee9b (diff) | |
download | waitress-3b0e7d61d745ff8fbdef4e2afac5f64ca6b8a58c.tar.gz |
Update src/waitress/utilities.py
Co-authored-by: Bert JW Regeer <xistence@0x58.com>
Diffstat (limited to 'src/waitress')
-rw-r--r-- | src/waitress/utilities.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/waitress/utilities.py b/src/waitress/utilities.py index 92db147..3c39787 100644 --- a/src/waitress/utilities.py +++ b/src/waitress/utilities.py @@ -258,7 +258,7 @@ class Error: def __init__(self, body): self.body = body - def to_response(self,ident=None): + def to_response(self, ident=None): status = f"{self.code} {self.reason}" body = f"{self.reason}\r\n\r\n{self.body}" ident = ident if ident else "server" |