Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for test_hidden_header (0.11 sec)

  1. tests/test_param_include_in_schema.py

            ),
            (
                "/hidden_header",
                {"Hidden-Header": "somevalue"},
                200,
                {"hidden_header": "somevalue"},
            ),
        ],
    )
    def test_hidden_header(path, headers, expected_status, expected_response):
        client = TestClient(app)
        response = client.get(path, headers=headers)
        assert response.status_code == expected_status
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Tue Mar 26 16:56:53 UTC 2024
    - 7.4K bytes
    - Viewed (0)
Back to top