summary refs log tree commit diff
path: root/synapse/http/proxy.py
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/http/proxy.py')
-rw-r--r--synapse/http/proxy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/http/proxy.py b/synapse/http/proxy.py
index 04d8b519fe..97aa429e7d 100644
--- a/synapse/http/proxy.py
+++ b/synapse/http/proxy.py
@@ -64,7 +64,7 @@ HOP_BY_HOP_HEADERS = {
 
 if hasattr(Headers, "_canonicalNameCaps"):
     # Twisted < 24.7.0rc1
-    _canonicalHeaderName = Headers()._canonicalNameCaps
+    _canonicalHeaderName = Headers()._canonicalNameCaps  # type: ignore[attr-defined]
 else:
     # Twisted >= 24.7.0rc1
     # But note that `_encodeName` still exists on prior versions,