Represents a file uploaded via a form. For backwards compatibility, its instance attributes are also accessible as dictionary keys. * ``filename`` * ``body`` * ``content_type``
| 654 | |
| 655 | |
| 656 | class 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 | |
| 672 | def _parse_request_range( |
no outgoing calls
no test coverage detected