﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
33697	Cleanup duplication of HTTP header parsing in utils.http and multipart parser.	Carlton Gibson	Mehrdad Moradizadeh	"PY311 deprecated the `cgi` module. 

We removed usage of that in [https://github.com/django/django/pull/15679 PR 15679]. 

There's similar logic already in place in `multipartparser.py`, but header parameters are parsed slightly differently, and the return types of the helper functions used don't match exactly. ([https://github.com/django/django/pull/15679#issuecomment-1123455222 Comment on the PR linking to the code locations].)

Nonetheless it looks like we should be able to combine the two functions to have a single parsing routine. 

"	Cleanup/optimization	closed	Utilities	4.0	Normal	fixed		Florian Apolloner	Ready for checkin	1	0	0	0	1	0
