multipart 1.2.1__tar.gz → 1.2.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {multipart-1.2.1 → multipart-1.2.2}/PKG-INFO +3 -2
- {multipart-1.2.1 → multipart-1.2.2}/multipart.py +2 -2
- {multipart-1.2.1 → multipart-1.2.2}/CHANGELOG.rst +0 -0
- {multipart-1.2.1 → multipart-1.2.2}/LICENSE +0 -0
- {multipart-1.2.1 → multipart-1.2.2}/MAINTAINERS.rst +0 -0
- {multipart-1.2.1 → multipart-1.2.2}/README.rst +0 -0
- {multipart-1.2.1 → multipart-1.2.2}/pyproject.toml +0 -0
- {multipart-1.2.1 → multipart-1.2.2}/test/__init__.py +0 -0
- {multipart-1.2.1 → multipart-1.2.2}/test/__main__.py +0 -0
- {multipart-1.2.1 → multipart-1.2.2}/test/test_header_utils.py +0 -0
- {multipart-1.2.1 → multipart-1.2.2}/test/test_legacy_parser.py +0 -0
- {multipart-1.2.1 → multipart-1.2.2}/test/test_multdict.py +0 -0
- {multipart-1.2.1 → multipart-1.2.2}/test/test_push_parser.py +0 -0
- {multipart-1.2.1 → multipart-1.2.2}/test/test_wsgi_parser.py +0 -0
- {multipart-1.2.1 → multipart-1.2.2}/test/utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: multipart
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.2
|
|
4
4
|
Summary: Parser for multipart/form-data
|
|
5
5
|
Author-email: Marcel Hellkamp <marc@gsites.de>
|
|
6
6
|
Requires-Python: >=3.8
|
|
@@ -13,6 +13,7 @@ Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
|
|
|
13
13
|
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries
|
|
14
14
|
Classifier: Topic :: Internet :: WWW/HTTP :: WSGI
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
License-File: LICENSE
|
|
16
17
|
Requires-Dist: pytest ; extra == "dev"
|
|
17
18
|
Requires-Dist: pytest-cov ; extra == "dev"
|
|
18
19
|
Requires-Dist: build ; extra == "dev"
|
|
@@ -10,7 +10,7 @@ License: MIT (see LICENSE file)
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
__author__ = "Marcel Hellkamp"
|
|
13
|
-
__version__ = '1.2.
|
|
13
|
+
__version__ = '1.2.2'
|
|
14
14
|
__license__ = "MIT"
|
|
15
15
|
__all__ = ["MultipartError", "ParserLimitReached", "ParserError",
|
|
16
16
|
"StrictParserError", "ParserStateError", "is_form_request",
|
|
@@ -182,7 +182,7 @@ class _cached_property:
|
|
|
182
182
|
_token="[a-zA-Z0-9-!#$%&'*+.^_`|~]+"
|
|
183
183
|
_re_istoken = re.compile("^%s$" % _token, re.ASCII)
|
|
184
184
|
# A token or quoted-string (simple qs | token | slow qs)
|
|
185
|
-
_value = r'"[^\\"]*"|%s|"(?:\\.|[
|
|
185
|
+
_value = r'"[^\\"]*"|%s|"(?:\\.|[^\\"])*"' % _token
|
|
186
186
|
# A "; key=value" pair from content-disposition header
|
|
187
187
|
_option = r'; *(%s) *= *(%s)' % (_token, _value)
|
|
188
188
|
_re_option = re.compile(_option)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|