Skip to content

Commit

Permalink
Fixed http test error
Browse files Browse the repository at this point in the history
  • Loading branch information
gavin-aguiar committed Nov 19, 2024
1 parent 72f6ddd commit dace0ca
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
5 changes: 3 additions & 2 deletions azure/functions/_http.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,9 @@ def _parse_form_data(self):
content_length = len(body)
mimetype, options = _wk_http.parse_options_header(content_type)
parser = _wk_parser.FormDataParser(
_wk_parser.default_stream_factory, None, None,
werkzeug.datastructures.ImmutableMultiDict
_wk_parser.default_stream_factory, max_form_memory_size=None,
max_content_length=None,
cls=werkzeug.datastructures.ImmutableMultiDict
)

body_stream = io.BytesIO(body)
Expand Down
1 change: 0 additions & 1 deletion eng/templates/ci-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ jobs:
versionSpec: $(PYTHON_VERSION)
- bash: |
python -m pip install --upgrade pip
python -m pip install werkzeug
python -m pip install -U -e .[dev]
displayName: 'Install dependencies'
- bash: |
Expand Down
1 change: 0 additions & 1 deletion eng/templates/jobs/ci-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ jobs:
versionSpec: $(PYTHON_VERSION)
- bash: |
python -m pip install --upgrade pip
python -m pip install werkzeug
python -m pip install -U -e .[dev]
displayName: 'Install dependencies'
- bash: |
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ dev = [
'azure-functions-durable',
'flake8~=4.0.1; python_version < "3.11"',
'flake8~=7.1.1; python_version >= "3.11"'

]

[tool.setuptools.packages.find]
Expand Down

0 comments on commit dace0ca

Please sign in to comment.