Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for test_header_pass_extra_list (0.07 seconds)

  1. tests/test_query_cookie_header_model_extra_params.py

                "param2": "456",
            },
        )
        assert resp.status_code == 200
        assert resp.json() == {
            "param": "123",
            "param2": "456",
        }
    
    
    def test_header_pass_extra_list():
        client = TestClient(app)
    
        resp = client.get(
            "/header",
            headers=[
                ("param", "123"),
                ("param2", "456"),  # Pass a list of values as extra parameter
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 2.3K bytes
    - Click Count (0)
Back to Top