cirospaciari-patch-1 v0.0.31
Ciro Spaciari 2024-10-29 12:13:08 -07:00
rodzic 328e249c2c
commit d2f26c682c
3 zmienionych plików z 4 dodań i 4 usunięć

Wyświetl plik

@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "socketify"
version = "0.0.30"
version = "0.0.31"
dynamic = ["dependencies"]
authors = [
{ name="Ciro Spaciari", email="ciro.spaciari@gmail.com" },

Wyświetl plik

@ -58,7 +58,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
setuptools.setup(
name="socketify",
version="0.0.30",
version="0.0.31",
platforms=["any"],
author="Ciro Spaciari",
author_email="ciro.spaciari@gmail.com",

Wyświetl plik

@ -548,7 +548,7 @@ class _WSGI:
self.server = App(options, task_factory_max_items=0)
self.SERVER_HOST = None
self.SERVER_PORT = None
self.SERVER_WS_SCHEME = "wss" if self.server.options else "ws"
self.SERVER_WS_SCHEME = "wss" if self.server._options else "ws"
self.wsgi = app
self.EMPTY_WSGI_BODY = WSGIBody(BytesIO())
self.BASIC_ENVIRON = dict(os.environ)
@ -671,7 +671,7 @@ class _WSGI:
"wsgi.errors": sys.stderr,
"wsgi.version": (1, 0),
"wsgi.run_once": False,
"wsgi.url_scheme": "https" if self.server.options and self.server.options.cert_file_name is not None else "http",
"wsgi.url_scheme": "https" if self.server._options and self.server._options.cert_file_name is not None else "http",
"wsgi.multithread": False,
"wsgi.multiprocess": False,
"wsgi.file_wrapper": None, # No file wrapper support for now