aboutsummaryrefslogtreecommitdiffstats
path: root/pathod/language/http2.py
diff options
context:
space:
mode:
Diffstat (limited to 'pathod/language/http2.py')
-rw-r--r--pathod/language/http2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pathod/language/http2.py b/pathod/language/http2.py
index 85d9047f..45b2a104 100644
--- a/pathod/language/http2.py
+++ b/pathod/language/http2.py
@@ -125,7 +125,7 @@ class ShortcutUserAgent(_HeaderMixin, base.OptionsOrValue):
def values(self, settings):
value = self.value.val
if self.option_used:
- value = user_agents.get_by_shortcut(value.lower())[2]
+ value = user_agents.get_by_shortcut(value.lower().decode())[2].encode()
return (
self.key.get_generator(settings),