Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 109 for 8a00 (0.02 seconds)

  1. docs/ru/docs/advanced/wsgi.md

    Если вы запустите это и перейдёте по <a href="http://localhost:8000/v1/" class="external-link" target="_blank">http://localhost:8000/v1/</a>, вы увидите HTTP‑ответ от Flask:
    
    ```txt
    Hello, World from Flask!
    ```
    
    А если вы перейдёте по <a href="http://localhost:8000/v2" class="external-link" target="_blank">http://localhost:8000/v2</a>, вы увидите HTTP‑ответ от FastAPI:
    
    ```JSON
    {
        "message": "Hello World"
    }
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  2. docs/pt/docs/advanced/wsgi.md

    Se você rodar a aplicação e ir até <a href="http://localhost:8000/v1/" class="external-link" target="_blank">http://localhost:8000/v1/</a>, você verá o retorno do Flask:
    
    ```txt
    Hello, World from Flask!
    ```
    
    E se você for até <a href="http://localhost:8000/v2" class="external-link" target="_blank">http://localhost:8000/v2</a>, você verá o retorno do FastAPI:
    
    ```JSON
    {
        "message": "Hello World"
    }
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  3. docs/de/docs/advanced/wsgi.md

    Wenn Sie das ausführen und auf <a href="http://localhost:8000/v1/" class="external-link" target="_blank">http://localhost:8000/v1/</a> gehen, sehen Sie die <abbr title="Response – Antwort: Daten, die der Server zum anfragenden Client zurücksendet">Response</abbr> von Flask:
    
    ```txt
    Hello, World from Flask!
    ```
    
    Und wenn Sie auf <a href="http://localhost:8000/v2" class="external-link" target="_blank">http://localhost:8000/v2</a> gehen, sehen Sie die Response von FastAPI:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt

        server.listener.assertClosing(1000, "Bye!")
        server.webSocket!!.finishReader()
        server.listener.assertClosed(1000, "Bye!")
      }
    
      @Test
      fun emptyCloseInitiatesShutdown() {
        server.sink.write("8800".decodeHex()).emit() // Close without code.
        client.processNextFrame()
        client.listener.assertClosing(1005, "")
        client.webSocket!!.finishReader()
        assertThat(client.webSocket!!.close(1000, "Bye!")).isTrue()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Jul 31 04:18:40 GMT 2025
    - 18.7K bytes
    - Click Count (0)
  5. .ci/jobs.t/defaults.yml

    ---
    
    ##### GLOBAL METADATA
    
    - meta:
        cluster: elasticsearch-ci
    
    ##### JOB DEFAULTS
    
    - job:
        vault:
          url: https://secrets.elastic.co:8200
          role_id: 1ba1ac3e-aee4-d040-d9a3-6ae23bd2b3db
        node: "general-purpose"
        concurrent: true
        logrotate:
          daysToKeep: 30
          numToKeep: 500
          artifactDaysToKeep: 7
        parameters:
          - string:
              name: branch_specifier
    Created: Sun Dec 21 06:47:06 GMT 2025
    - Last Modified: Wed Sep 29 15:38:05 GMT 2021
    - 2.9K bytes
    - Click Count (0)
  6. scripts/playwright/header_param_models/image01.py

        browser = playwright.chromium.launch(headless=False)
        # Update the viewport manually
        context = browser.new_context(viewport={"width": 960, "height": 1080})
        page = context.new_page()
        page.goto("http://localhost:8000/docs")
        page.get_by_role("button", name="GET /items/ Read Items").click()
        page.get_by_role("button", name="Try it out").click()
        # Manually add the screenshot
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Sep 17 18:54:10 GMT 2024
    - 1.1K bytes
    - Click Count (0)
  7. scripts/playwright/request_form_models/image01.py

        browser = playwright.chromium.launch(headless=False)
        # Update the viewport manually
        context = browser.new_context(viewport={"width": 960, "height": 1080})
        page = context.new_page()
        page.goto("http://localhost:8000/docs")
        page.get_by_role("button", name="POST /login/ Login").click()
        page.get_by_role("button", name="Try it out").click()
        # Manually add the screenshot
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Sep 13 09:14:46 GMT 2024
    - 1.1K bytes
    - Click Count (0)
  8. tests/test_openapi_servers.py

    from inline_snapshot import snapshot
    
    app = FastAPI(
        servers=[
            {"url": "/", "description": "Default, relative server"},
            {
                "url": "http://staging.localhost.tiangolo.com:8000",
                "description": "Staging but actually localhost still",
            },
            {"url": "https://prod.example.com"},
        ]
    )
    
    
    @app.get("/foo")
    def foo():
        return {"message": "Hello World"}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  9. docs/en/docs/tutorial/debugging.md

    ```
    
    </div>
    
    then the internal variable `__name__` in your file, created automatically by Python, will have as value the string `"__main__"`.
    
    So, the section:
    
    ```Python
        uvicorn.run(app, host="0.0.0.0", port=8000)
    ```
    
    will run.
    
    ---
    
    This won't happen if you import that module (file).
    
    So, if you have another file `importer.py` with:
    
    ```Python
    from myapp import app
    
    # Some more code
    ```
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  10. docs/zh/docs/tutorial/debugging.md

    所以,下面这部分代码才会运行:
    
    ```Python
        uvicorn.run(app, host="0.0.0.0", port=8000)
    ```
    
    ---
    
    如果你是导入这个模块(文件)就不会这样。
    
    因此,如果你的另一个文件 `importer.py` 像这样:
    
    ```Python
    from myapp import app
    
    # Some more code
    ```
    
    在这种情况下,`myapp.py` 内部的自动变量不会有值为 `"__main__"` 的变量 `__name__`。
    
    所以,下面这一行不会被执行:
    
    ```Python
        uvicorn.run(app, host="0.0.0.0", port=8000)
    ```
    
    /// info
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 2.3K bytes
    - Click Count (0)
Back to Top