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

Replace parse_header (removed in Django 4.2) with parse_header_parameters #8540

Closed
Scotchester opened this issue Jun 29, 2022 Discussed in #8539 · 0 comments · Fixed by #8556
Closed

Replace parse_header (removed in Django 4.2) with parse_header_parameters #8540

Scotchester opened this issue Jun 29, 2022 Discussed in #8539 · 0 comments · Fixed by #8556

Comments

@Scotchester
Copy link

Discussed in #8539

Originally posted by Scotchester June 29, 2022
Hi folks,

The Wagtail project has a check against Django's main branch in our CI, and it started failing a day or two ago due to the removal of django.http.multipartparser.parse_header(), which DRF uses in three places. This change will be released in Django 4.2.

The recommended solution is to switch to django.utils.http.parse_header_parameters().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment