Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for mp4 (0.06 sec)

  1. docs_src/custom_response/tutorial008.py

    from fastapi.responses import StreamingResponse
    
    some_file_path = "large-video-file.mp4"
    app = FastAPI()
    
    
    @app.get("/")
    def main():
        def iterfile():  # (1)
            with open(some_file_path, mode="rb") as file_like:  # (2)
                yield from file_like  # (3)
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Jul 19 19:14:58 UTC 2021
    - 360 bytes
    - Viewed (0)
  2. .gitattributes

    *.a             binary
    *.lib           binary
    *.icns          binary
    *.png           binary
    *.jpg           binary
    *.jpeg          binary
    *.gif           binary
    *.ico           binary
    *.mov           binary
    *.mp4           binary
    *.mp3           binary
    *.flv           binary
    *.fla           binary
    *.swf           binary
    *.gz            binary
    *.zip           binary
    *.jar           binary
    *.tar           binary
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Sep 02 12:15:16 UTC 2020
    - 1.1K bytes
    - Viewed (0)
  3. docs_src/custom_response/tutorial009.py

    from fastapi import FastAPI
    from fastapi.responses import FileResponse
    
    some_file_path = "large-video-file.mp4"
    app = FastAPI()
    
    
    @app.get("/")
    async def main():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 202 bytes
    - Viewed (0)
  4. tests/test_tutorial/test_custom_response/test_tutorial009b.py

    from docs_src.custom_response import tutorial009b
    from docs_src.custom_response.tutorial009b import app
    
    client = TestClient(app)
    
    
    def test_get(tmp_path: Path):
        file_path: Path = tmp_path / "large-video-file.mp4"
        tutorial009b.some_file_path = str(file_path)
        test_content = b"Fake video bytes"
        file_path.write_bytes(test_content)
        response = client.get("/")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Jul 03 19:51:28 UTC 2021
    - 490 bytes
    - Viewed (0)
  5. docs_src/custom_response/tutorial009b.py

    from fastapi import FastAPI
    from fastapi.responses import FileResponse
    
    some_file_path = "large-video-file.mp4"
    app = FastAPI()
    
    
    @app.get("/", response_class=FileResponse)
    async def main():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Jul 03 19:51:28 UTC 2021
    - 217 bytes
    - Viewed (0)
  6. tests/test_tutorial/test_custom_response/test_tutorial009.py

    from docs_src.custom_response import tutorial009
    from docs_src.custom_response.tutorial009 import app
    
    client = TestClient(app)
    
    
    def test_get(tmp_path: Path):
        file_path: Path = tmp_path / "large-video-file.mp4"
        tutorial009.some_file_path = str(file_path)
        test_content = b"Fake video bytes"
        file_path.write_bytes(test_content)
        response = client.get("/")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Jul 03 19:51:28 UTC 2021
    - 487 bytes
    - Viewed (0)
  7. tests/test_tutorial/test_custom_response/test_tutorial008.py

    from docs_src.custom_response import tutorial008
    from docs_src.custom_response.tutorial008 import app
    
    client = TestClient(app)
    
    
    def test_get(tmp_path: Path):
        file_path: Path = tmp_path / "large-video-file.mp4"
        tutorial008.some_file_path = str(file_path)
        test_content = b"Fake video bytes"
        file_path.write_bytes(test_content)
        response = client.get("/")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Jul 09 18:06:12 UTC 2020
    - 487 bytes
    - Viewed (0)
  8. docs/compression/README.md

    - Extensions
    
     | `gz`  | (GZIP)      |
     | `bz2` | (BZIP2)     |
     | `rar` | (WinRAR)    |
     | `zip` | (ZIP)       |
     | `7z`  | (7-Zip)     |
     | `xz`  | (LZMA)      |
     | `mp4` | (MP4)       |
     | `mkv` | (MKV media) |
     | `mov` | (MOV)       |
    
    - Content-Types
    
     | `video/*`                |
     | `audio/*`                |
     | `application/zip`        |
     | `application/x-gzip`     |
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Mar 11 11:55:34 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/MediaType.kt

       * Returns the high-level media type, such as "text", "image", "audio", "video", or "application".
       */
      @get:JvmName("type") val type: String,
      /**
       * Returns a specific media subtype, such as "plain" or "png", "mpeg", "mp4" or "xml".
       */
      @get:JvmName("subtype") val subtype: String,
      /** Alternating parameter names with their values, like `["charset", "utf-8"]`. */
      internal val parameterNamesAndValues: Array<String>,
    ) {
      /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  10. src/main/resources/fess_config.properties

    application/x-rar-compressed=rar\n\
    video/3gp=3gp\n\
    video/3g2=3g2\n\
    video/x-msvideo=avi\n\
    video/x-flv=flv\n\
    video/mpeg=mpeg\n\
    video/mp4=mp4\n\
    video/ogv=ogv\n\
    video/quicktime=qt\n\
    video/x-m4v=m4v\n\
    audio/x-aif=aif\n\
    audio/midi=midi\n\
    audio/mpga=mpga\n\
    audio/mp4=mp4a\n\
    audio/ogg=oga\n\
    audio/x-wav=wav\n\
    image/webp=webp\n\
    image/bmp=bmp\n\
    image/x-icon=ico\n\
    image/x-icon=ico\n\
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Tue Oct 01 14:13:38 UTC 2024
    - 30.9K bytes
    - Viewed (0)
Back to top