From 77b3173566f20ae115c72cd90966d85d76969f29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Heissler?= Date: Sun, 1 Nov 2026 21:57:11 +0100 Subject: [PATCH] Fix __all__ list. Add MIGHT_SWITCH_PROTOCOL and PRODUCT_ID. Reorder ProtocolError and LocalProtocolError to make it consistent with the import. --- h11/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/h11/__init__.py b/h11/__init__.py index 989e92c..7a22c83 100644 --- a/h11/__init__.py +++ b/h11/__init__.py @@ -51,12 +51,14 @@ "DONE", "ERROR", "IDLE", + "MIGHT_SWITCH_PROTOCOL", "MUST_CLOSE", "SEND_BODY", "SEND_RESPONSE", "SERVER", "SWITCHED_PROTOCOL", - "ProtocolError", "LocalProtocolError", + "ProtocolError", "RemoteProtocolError", + "PRODUCT_ID", )