Search Options

Results per page
Sort
Preferred Languages
Advance

Results 491 - 500 of 852 for txt (0.03 sec)

  1. docs_src/events/tutorial002.py

    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.on_event("shutdown")
    def shutdown_event():
        with open("log.txt", mode="a") as log:
            log.write("Application shutdown")
    
    
    @app.get("/items/")
    async def read_items():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 255 bytes
    - Viewed (0)
  2. .github/labeler.yml

    internal:
      - all:
        - changed-files:
          - any-glob-to-any-file:
            - .github/**
            - scripts/**
            - .gitignore
            - .pre-commit-config.yaml
            - pdm_build.py
            - requirements*.txt
            - docs/en/data/sponsors.yml
            - docs/en/overrides/main.html
          - all-globs-to-all-files:
            - '!docs/*/docs/**'
            - '!fastapi/**'
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 31 10:18:37 UTC 2024
    - 892 bytes
    - Viewed (0)
  3. regression-test/src/androidTest/java/okhttp/regression/compare/OkHttpClientTest.java

    @RunWith(AndroidJUnit4.class)
    public class OkHttpClientTest {
      @Test public void get() throws IOException {
        OkHttpClient client = new OkHttpClient();
        Request request = new Request.Builder()
            .url("https://google.com/robots.txt")
            .build();
        try (Response response = client.newCall(request).execute()) {
          assertEquals(200, response.code());
          assertEquals(Protocol.HTTP_2, response.protocol());
        }
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Nov 14 17:38:22 UTC 2020
    - 1.4K bytes
    - Viewed (0)
  4. samples/guide/src/main/java/okhttp3/recipes/kt/AsynchronousGet.kt

    import okhttp3.Request
    import okhttp3.Response
    
    class AsynchronousGet {
      private val client = OkHttpClient()
    
      fun run() {
        val request =
          Request.Builder()
            .url("http://publicobject.com/helloworld.txt")
            .build()
    
        client.newCall(request).enqueue(
          object : Callback {
            override fun onFailure(
              call: Call,
              e: IOException,
            ) {
              e.printStackTrace()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/wsgi.md

    And the rest will be handled by **FastAPI**.
    
    If you run it and go to <a href="http://localhost:8000/v1/" class="external-link" target="_blank">http://localhost:8000/v1/</a> you will see the response from Flask:
    
    ```txt
    Hello, World from Flask!
    ```
    
    And if you go to <a href="http://localhost:8000/v2" class="external-link" target="_blank">http://localhost:8000/v2</a> you will see the response from FastAPI:
    
    ```JSON
    {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  6. .gitignore

    .idea
    .ipynb_checkpoints
    .mypy_cache
    .vscode
    __pycache__
    .pytest_cache
    htmlcov
    dist
    site
    .coverage*
    coverage.xml
    .netlify
    test.db
    log.txt
    Pipfile.lock
    env3.*
    env
    docs_build
    site_build
    venv
    docs.zip
    archive.zip
    
    # vim temporary files
    *~
    .*.sw?
    .cache
    
    # macOS
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 16 16:56:19 UTC 2024
    - 269 bytes
    - Viewed (0)
  7. src/archive/zip/testdata/time-7zip.zip

    test.txt...
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Nov 06 19:50:28 UTC 2017
    - 150 bytes
    - Viewed (0)
  8. src/archive/zip/testdata/time-infozip.zip

    test.txt...
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Nov 06 19:50:28 UTC 2017
    - 166 bytes
    - Viewed (0)
  9. src/archive/zip/testdata/time-osx.zip

    test.txt...
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Nov 06 19:50:28 UTC 2017
    - 142 bytes
    - Viewed (0)
  10. internal/dsync/.gitignore

    dsync.test
    coverage.txt
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 29 bytes
    - Viewed (0)
Back to top