Bin
2025-12-17 1442f92732d7c5311a627a7ba3aaa0bb8ffc539f
1
2
3
4
5
6
7
8
9
10
"""This file and its contents are licensed under the Apache License 2.0. Please see the included NOTICE for copyright information and LICENSE for a copy of the license.
"""
 
try:
    from requests._internal_utils import HEADER_VALIDATORS
    from tavern.util.formatted_str import FormattedString
 
    HEADER_VALIDATORS[FormattedString] = HEADER_VALIDATORS[str]
except ImportError:
    print('\n Your requests version is under 2.28 and it does not support HEADER_VALIDATORS. \n')