MCPcopy Create free account
hub / github.com/EasyIME/PIME / HTTPFile

Class HTTPFile

python/python3/tornado/httputil.py:656–669  ·  view source on GitHub ↗

Represents a file uploaded via a form. For backwards compatibility, its instance attributes are also accessible as dictionary keys. * ``filename`` * ``body`` * ``content_type``

Source from the content-addressed store, hash-verified

654
655
656class HTTPFile(ObjectDict):
657 """Represents a file uploaded via a form.
658
659 For backwards compatibility, its instance attributes are also
660 accessible as dictionary keys.
661
662 * ``filename``
663 * ``body``
664 * ``content_type``
665 """
666
667 filename: str
668 body: bytes
669 content_type: str
670
671
672def _parse_request_range(

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected