TestUnquoteHeaderValue Class — requests Architecture
Architecture documentation for the TestUnquoteHeaderValue class in test_utils.py from the requests codebase.
Entity Profile
Dependency Diagram
graph TD 39d028c9_e4d1_e6bc_1e53_b4dffc958223["TestUnquoteHeaderValue"] 5828793e_be5b_8952_37f1_338fd4634a1a["test_utils.py"] 39d028c9_e4d1_e6bc_1e53_b4dffc958223 -->|defined in| 5828793e_be5b_8952_37f1_338fd4634a1a 64766a4e_3369_584a_4c87_7c352c4b18f5["test_valid()"] 39d028c9_e4d1_e6bc_1e53_b4dffc958223 -->|method| 64766a4e_3369_584a_4c87_7c352c4b18f5 fe28928f_ae1e_988b_51ce_a6b64c9c9144["test_is_filename()"] 39d028c9_e4d1_e6bc_1e53_b4dffc958223 -->|method| fe28928f_ae1e_988b_51ce_a6b64c9c9144
Relationship Graph
Source Code
tests/test_utils.py lines 192–207
class TestUnquoteHeaderValue:
@pytest.mark.parametrize(
"value, expected",
(
(None, None),
("Test", "Test"),
('"Test"', "Test"),
('"Test\\\\"', "Test\\"),
('"\\\\Comp\\Res"', "\\Comp\\Res"),
),
)
def test_valid(self, value, expected):
assert unquote_header_value(value) == expected
def test_is_filename(self):
assert unquote_header_value('"\\\\Comp\\Res"', True) == "\\\\Comp\\Res"
Domain
Defined In
Source
Frequently Asked Questions
What is the TestUnquoteHeaderValue class?
TestUnquoteHeaderValue is a class in the requests codebase, defined in tests/test_utils.py.
Where is TestUnquoteHeaderValue defined?
TestUnquoteHeaderValue is defined in tests/test_utils.py at line 192.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free