aboutsummaryrefslogtreecommitdiffstats
path: root/pathod/language/http.py
diff options
context:
space:
mode:
Diffstat (limited to 'pathod/language/http.py')
-rw-r--r--pathod/language/http.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/pathod/language/http.py b/pathod/language/http.py
index 5cd717a9..1ea55d75 100644
--- a/pathod/language/http.py
+++ b/pathod/language/http.py
@@ -54,7 +54,9 @@ class Method(base.OptionsOrValue):
class _HeaderMixin:
- unique_name = None # type: ignore
+ @property
+ def unique_name(self):
+ return None
def format_header(self, key, value):
return [key, b": ", value, b"\r\n"]