fix: same headers can exist in the post multipart

backport patch from @jsvisa