Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for max_content_size (0.43 sec)

  1. tests/test_custom_middleware_exception.py

        Args:
          app (ASGI application): ASGI application
          max_content_size (optional): the maximum content size allowed in bytes, None for no limit
        """
    
        def __init__(self, app: APIRouter, max_content_size: Optional[int] = None):
            self.app = app
            self.max_content_size = max_content_size
    
        def receive_wrapper(self, receive):
            received = 0
    
            async def inner():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Aug 25 21:44:40 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/LhaExtractor.java

                    final LhaHeader head = entries.nextElement();
                    contentSize += head.getOriginalSize();
                    if (maxContentSize != -1 && contentSize > maxContentSize) {
                        throw new MaxLengthExceededException("Extracted size is " + contentSize + " > " + maxContentSize);
                    }
                    final String filename = head.getPath();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/ZipExtractor.java

                while ((entry = (ZipArchiveEntry) ais.getNextEntry()) != null) {
                    contentSize += entry.getSize();
                    if (maxContentSize != -1 && contentSize > maxContentSize) {
                        throw new MaxLengthExceededException("Extracted size is " + contentSize + " > " + maxContentSize);
                    }
                    final String filename = entry.getName();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TarExtractor.java

                while ((entry = (TarArchiveEntry) ais.getNextEntry()) != null) {
                    contentSize += entry.getSize();
                    if (maxContentSize != -1 && contentSize > maxContentSize) {
                        throw new MaxLengthExceededException("Extracted size is " + contentSize + " > " + maxContentSize);
                    }
                    final String filename = entry.getName();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top