Skip to content

Commit dace0ca

Browse files
committed
Fixed http test error
1 parent 72f6ddd commit dace0ca

File tree

4 files changed

+3
-5
lines changed

4 files changed

+3
-5
lines changed

azure/functions/_http.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,8 +231,9 @@ def _parse_form_data(self):
231231
content_length = len(body)
232232
mimetype, options = _wk_http.parse_options_header(content_type)
233233
parser = _wk_parser.FormDataParser(
234-
_wk_parser.default_stream_factory, None, None,
235-
werkzeug.datastructures.ImmutableMultiDict
234+
_wk_parser.default_stream_factory, max_form_memory_size=None,
235+
max_content_length=None,
236+
cls=werkzeug.datastructures.ImmutableMultiDict
236237
)
237238

238239
body_stream = io.BytesIO(body)

eng/templates/ci-tests.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ jobs:
2222
versionSpec: $(PYTHON_VERSION)
2323
- bash: |
2424
python -m pip install --upgrade pip
25-
python -m pip install werkzeug
2625
python -m pip install -U -e .[dev]
2726
displayName: 'Install dependencies'
2827
- bash: |

eng/templates/jobs/ci-tests.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ jobs:
2222
versionSpec: $(PYTHON_VERSION)
2323
- bash: |
2424
python -m pip install --upgrade pip
25-
python -m pip install werkzeug
2625
python -m pip install -U -e .[dev]
2726
displayName: 'Install dependencies'
2827
- bash: |

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ dev = [
3838
'azure-functions-durable',
3939
'flake8~=4.0.1; python_version < "3.11"',
4040
'flake8~=7.1.1; python_version >= "3.11"'
41-
4241
]
4342

4443
[tool.setuptools.packages.find]

0 commit comments

Comments
 (0)