mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
2a0ccb4c3f
Multipart provides a parser for the multipart/form-data format. It can read from a file, a socket or a WSGI environment. The parser can be used to replace cgi.FieldStorage to work around its limitations. Features: - Parses multipart/form-data and application/x-www-form-urlencoded. - Produces useful error messages in 'strict'-mode. - Gracefully handle uploads of unknown size (missing Content-Length header). - Fast memory mapped files (io.BytesIO) for small uploads. - Temporary files on disk for big uploads. - Memory and disk resource limits to prevent DOS attacks. - Fixes many shortcomings and bugs of cgi.FieldStorage. - 100% test coverage.
20 lines
380 B
Makefile
20 lines
380 B
Makefile
PORTNAME= multipart
|
|
PORTVERSION= 0.2.4
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Parser for multipart/form-data
|
|
WWW= https://github.com/defnull/multipart
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= python
|
|
USE_PYTHON= autoplist concurrent distutils
|
|
|
|
NO_ARCH= yes
|
|
|
|
.include <bsd.port.mk>
|