diff options
-rw-r--r-- | libpathod/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpathod/utils.py b/libpathod/utils.py index 7a1e533f..ac0c0e4c 100644 --- a/libpathod/utils.py +++ b/libpathod/utils.py @@ -27,7 +27,7 @@ def get_header(val, headers): Header keys may be Values, so we have to "generate" them as we try the match. """ for k, v in headers: - if len(k) == len(val) and k[:].lower() == val: + if len(k) == len(val) and k[:].lower() == val.lower(): return v return None |