From 5f63156ddfba88b5cf8227a4d5f3aecda17b95da Mon Sep 17 00:00:00 2001 From: Wes Date: Thu, 7 Sep 2023 13:10:46 -0400 Subject: [PATCH] Replace '-' with '_' in to_server_key. Increment version. --- pyproject.toml | 2 +- resigner/utils.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index f8da6ef..c6b4686 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "resigner" -version = "0.3.12" +version = "0.3.13" authors = [ {name = "Media Predict"}, {email = "engineering@mediapredict.com"} diff --git a/resigner/utils.py b/resigner/utils.py index 3eb76d1..3d6e003 100755 --- a/resigner/utils.py +++ b/resigner/utils.py @@ -9,7 +9,7 @@ def add_prefix(key): def to_server_key(key): - return f"HTTP_{key}" + return f"HTTP_{key}".replace("-", "_") CLIENT_TIME_STAMP_KEY = add_prefix("TIME-STAMP")