Skip to content

Commit

Permalink
Fix WSGI environ optional items (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
gi0baro authored Jan 18, 2023
1 parent d9ade9c commit 9265a03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions granian/wsgi.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import os
import sys

from functools import wraps
from typing import Any, List, Tuple
Expand All @@ -21,8 +22,7 @@ def _callback_wrapper(callback):
'SCRIPT_NAME': '',
'SERVER_PROTOCOL': 'HTTP/1.1',
'SERVER_SOFTWARE': 'Granian',
'wsgi.errors': None,
'wsgi.file_wrapper': None,
'wsgi.errors': sys.stderr,
'wsgi.input_terminated': True,
'wsgi.input': None,
'wsgi.multiprocess': False,
Expand Down

0 comments on commit 9265a03

Please sign in to comment.