Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for mp4 (0.14 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)
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Mon Jul 19 19:14:58 GMT 2021
    - 360 bytes
    - Viewed (0)
  2. 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():
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Jul 03 19:51:28 GMT 2021
    - 217 bytes
    - Viewed (0)
  3. 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("/")
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Jul 03 19:51:28 GMT 2021
    - 487 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("/")
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Jul 03 19:51:28 GMT 2021
    - 490 bytes
    - Viewed (0)
  5. 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`     |
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  6. 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>,
    ) {
      /**
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/net/MediaType.java

       *
       * @since 28.1
       */
      public static final MediaType JP2K = createConstant(IMAGE_TYPE, "jp2");
    
      /* audio types */
      public static final MediaType MP4_AUDIO = createConstant(AUDIO_TYPE, "mp4");
      public static final MediaType MPEG_AUDIO = createConstant(AUDIO_TYPE, "mpeg");
      public static final MediaType OGG_AUDIO = createConstant(AUDIO_TYPE, "ogg");
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Aug 07 16:17:10 GMT 2023
    - 46.2K bytes
    - Viewed (0)
  8. 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\
    Properties
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Apr 11 02:34:53 GMT 2024
    - 30.6K bytes
    - Viewed (1)
  9. cmd/globals.go

    	globalCompressConfig   compress.Config
    
    	// Some standard object extensions which we strictly dis-allow for compression.
    	standardExcludeCompressExtensions = []string{".gz", ".bz2", ".rar", ".zip", ".7z", ".xz", ".mp4", ".mkv", ".mov", ".jpg", ".png", ".gif"}
    
    	// Some standard content-types which we strictly dis-allow for compression.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  10. src/main/resources/fess_label.properties

    labels.facet_filetype_3gp=3gp Video
    labels.facet_filetype_3g2=3g2 Video
    labels.facet_filetype_avi=AVI Video
    labels.facet_filetype_flv=FLV Video
    labels.facet_filetype_mpeg=MPEG Video
    labels.facet_filetype_mp4=MP4 Video
    labels.facet_filetype_ogv=OGV Video
    labels.facet_filetype_qt=QuickTime Video
    labels.facet_filetype_m4v=M4V Video
    labels.facet_filetype_ogg=OGG Audio
    labels.facet_filetype_wav=WAV Audio
    Properties
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Fri Mar 22 11:58:34 GMT 2024
    - 40.7K bytes
    - Viewed (1)
Back to top