Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for url (0.13 sec)

  1. tests/test_tutorial/test_advanced_middleware/test_tutorial002.py

    
    def test_middleware():
        client = TestClient(app, base_url="http://example.com")
        response = client.get("/")
        assert response.status_code == 200, response.text
        client = TestClient(app, base_url="http://subdomain.example.com")
        response = client.get("/")
        assert response.status_code == 200, response.text
        client = TestClient(app, base_url="http://invalidhost")
        response = client.get("/")
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Jul 09 18:06:12 GMT 2020
    - 570 bytes
    - Viewed (0)
  2. tests/test_tutorial/test_behind_a_proxy/test_tutorial002.py

                                "content": {"application/json": {"schema": {}}},
                            }
                        },
                    }
                }
            },
            "servers": [{"url": "/api/v1"}],
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 1K bytes
    - Viewed (0)
Back to top