Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 1,542 for path1b (0.03 sec)

  1. tests/test_tutorial/test_events/test_tutorial001.py

            assert response.status_code == 200, response.text
            assert response.json() == {
                "openapi": "3.1.0",
                "info": {"title": "FastAPI", "version": "0.1.0"},
                "paths": {
                    "/items/{item_id}": {
                        "get": {
                            "responses": {
                                "200": {
                                    "description": "Successful Response",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  2. tests/test_computed_fields.py

        client = TestClient(app)
        return client
    
    
    @pytest.mark.parametrize("client", [True, False], indirect=True)
    @pytest.mark.parametrize("path", ["/", "/responses"])
    def test_get(client: TestClient, path: str):
        response = client.get(path)
        assert response.status_code == 200, response.text
        assert response.json() == {"width": 3, "length": 4, "area": 12}
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  3. docs/es/docs/advanced/behind-a-proxy.md

    ## Sobre proxies con un prefijo de path eliminado { #about-proxies-with-a-stripped-path-prefix }
    
    Ten en cuenta que un proxy con prefijo de path eliminado es solo una de las formas de configurarlo.
    
    Probablemente en muchos casos, el valor por defecto será que el proxy no tenga un prefijo de path eliminado.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_dependencies/test_tutorial005.py

                None,
                200,
                {"q_or_cookie": None},
            ),
        ],
    )
    def test_get(path, cookie, expected_status, expected_response, client: TestClient):
        if cookie is not None:
            client.cookies.set("last_query", cookie)
        else:
            client.cookies.clear()
        response = client.get(path)
        assert response.status_code == expected_status
        assert response.json() == expected_response
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_handling_errors/test_tutorial002.py

        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/items-header/{item_id}": {
                    "get": {
                        "responses": {
                            "200": {
                                "description": "Successful Response",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  6. cmd/metrics-v3-handler.go

    		handler := h.listMetrics(path)
    		if handler == nil {
    			return notFoundHandler
    		}
    		return handler
    	}
    
    	// In each of the following cases, we check if the collect path is a
    	// descendant of `path`, and if so, we add the corresponding gatherer to
    	// the list of gatherers. This way, /api/a will return all metrics returned
    	// by /api/a/b and /api/a/c (and any other matching descendant collector
    	// paths).
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Oct 10 18:57:03 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  7. docs/pt/docs/advanced/behind-a-proxy.md

    ## Sobre proxies com um prefixo de path removido { #about-proxies-with-a-stripped-path-prefix }
    
    Tenha em mente que um proxy com prefixo de path removido é apenas uma das maneiras de configurá-lo.
    
    Provavelmente, em muitos casos, o padrão será que o proxy não tenha um prefixo de path removido.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  8. docs/pt/docs/tutorial/first-steps.md

    ### Passo 3: crie uma operação de rota { #step-3-create-a-path-operation }
    
    #### Path { #path }
    
    "Path" aqui se refere à última parte da URL, começando do primeiro `/`.
    
    Então, em uma URL como:
    
    ```
    https://example.com/items/foo
    ```
    
    ...o path seria:
    
    ```
    /items/foo
    ```
    
    /// info | Informação
    
    Um "path" também é comumente chamado de "endpoint" ou de "rota".
    
    ///
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  9. cmd/admin-router.go

    			// Top locks
    			adminRouter.Methods(http.MethodGet).Path(adminVersion + "/top/locks").HandlerFunc(adminMiddleware(adminAPI.TopLocksHandler))
    			// Force unlocks paths
    			adminRouter.Methods(http.MethodPost).Path(adminVersion+"/force-unlock").
    				Queries("paths", "{paths:.*}").HandlerFunc(adminMiddleware(adminAPI.ForceUnlockHandler))
    		}
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Oct 10 18:57:03 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  10. .github/workflows/build-docs.yml

            with:
              key: mkdocs-cards-${{ matrix.lang }}-${{ github.ref }}
              path: docs/${{ matrix.lang }}/.cache
          - name: Build Docs
            run: python ./scripts/docs.py build-lang ${{ matrix.lang }}
          - uses: actions/upload-artifact@v5
            with:
              name: docs-site-${{ matrix.lang }}
              path: ./site/**
              include-hidden-files: true
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Dec 21 17:40:17 UTC 2025
    - 3.3K bytes
    - Viewed (0)
Back to top