Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix Werkzeug 2.1.x compatibility #684

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dshein-alt
Copy link

- fix httpbin/core.py: use Responce class instead of BaseResponse
see: pallets/werkzeug#2276
- fix tests: TestClient doesn't provide 'Content-Length' header anymore
see: pallets/werkzeug#2347
@dshein-alt dshein-alt force-pushed the fix_werkzeug_2.1.x_compatibility branch from c3ad946 to df733e9 Compare September 26, 2022 18:46
mgorny added a commit to mgorny/httpbin that referenced this pull request Aug 1, 2023
Remove the check for `Content-Length` header that is not provided
by default anymore with werkzeug 0.15.x.

See: pallets/werkzeug#2347

Taken from postmanlabs#684
mgorny added a commit to mgorny/httpbin that referenced this pull request Aug 1, 2023
Remove the check for `Content-Length` header that is not provided
by default anymore with werkzeug 0.15.x.

See: pallets/werkzeug#2347

Taken from postmanlabs#684
mgorny added a commit to mgorny/httpbin that referenced this pull request Aug 1, 2023
Update the code for werkzeug 2.1.x where `BaseResponse` class was
replaced by `Response`.

See: pallets/werkzeug#2276

Taken from postmanlabs#684
@kloczek
Copy link

kloczek commented Nov 8, 2023

werkzeug 3.0.0 has been released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants