diff options
-rw-r--r-- | paste/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/paste/__init__.py b/paste/__init__.py index 1948273..edf1951 100644 --- a/paste/__init__.py +++ b/paste/__init__.py @@ -244,7 +244,7 @@ def application(environ: Env, start_response: StartResponse) -> Response: "200 OK", [ ("Content-Type", content_type), - ("Content-Length", content_length), + ("Content-Length", str(content_length)), ("ETag", f'"{b64encode(content_hash).decode()}"'), ], ) |