bug #29057 [HttpFoundation] replace any preexisting Content-Type headers (nicolas-grekas)
bug #29057 [HttpFoundation] replace any preexisting Content-Type headers (nicolas-grekas)

This PR was merged into the 2.8 branch.

Discussion
----------

[HttpFoundation] replace any preexisting Content-Type headers

| Q             | A
| ------------- | ---
| Branch?       | 2.8
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #21204
| License       | MIT
| Doc PR        | -

Commits
-------

de2ce58a4f [HttpFoundation] replace any preexisting Content-Type headers

MatTheCat/symfony,mnapoli/symfony,OskarStark/symfony,frankdejonge/symfony,MatTheCat/symfony,romaricdrigon/symfony,sgehrig/symfony,localheinz/symfony,fabpot/symfony,joelwurtz/symfony,teohhanhui/symfony,HeahDude/symfony,zerkms/symfony,Deamon/symfony,frankdejonge/symfony,jakzal/symfony,localheinz/symfony,jvasseur/symfony,kbond/symfony,ajgarlag/symfony,Deamon/symfony,lstrojny/symfony,arjenm/symfony,sroze/symfony,tucksaun/symfony,yceruto/symfony,Nyholm/symfony,voronkovich/symfony,arjenm/symfony,bendavies/symfony,jderusse/symfony,yceruto/symfony,andreia/symfony,1ed/symfony,tgalopin/symfony,Nyholm/symfony,ro0NL/symfony,bendavies/symfony,deguif/symfony,dmaicher/symfony,OskarStark/symfony,ajgarlag/symfony,Koc/symfony,joelwurtz/symfony,damienalexandre/symfony,ro0NL/symfony,gnat42/symfony,SaschaDens/symfony,OndraM/symfony,damienalexandre/symfony,phramz/symfony,Taluu/symfony,Koc/symfony,vincentaubert/symfony,alekitto/symfony,teohhanhui/symfony,mnapoli/symfony,Nyholm/symfony,zerkms/symfony,garak/symfony,SaschaDens/symfony,zorn-v/symfony,Slamdunk/symfony,gonzalovilaseca/symfony,tucksaun/symfony,yceruto/symfony,docteurklein/symfony,gnat42/symfony,chalasr/symfony,tgalopin/symfony,mpdude/symfony,curry684/symfony,Simperfit/symfony,voronkovich/symfony,tucksaun/symfony,pierredup/symfony,chalasr/symfony,SaschaDens/symfony,xabbuh/symfony,SaschaDens/symfony,pyrech/symfony,tgalopin/symfony,gonzalovilaseca/symfony,oleg-andreyev/symfony,voronkovich/symfony,mnapoli/symfony,mweimerskirch/symfony,mweimerskirch/symfony,zorn-v/symfony,zorn-v/symfony,chalasr/symfony,dmaicher/symfony,1ed/symfony,Nyholm/symfony,ragboyjr/symfony,lyrixx/symfony,ro0NL/symfony,pierredup/symfony,mweimerskirch/symfony,shieldo/symfony,lyrixx/symfony,stof/symfony,mweimerskirch/symfony,Simperfit/symfony,derrabus/symfony,joelwurtz/symfony,teohhanhui/symfony,maidmaid/symfony,derrabus/symfony,OndraM/symfony,curry684/symfony,zerkms/symfony,lyrixx/symfony,Simperfit/symfony,OndraM/symfony,jderusse/symfony,gonzalovilaseca/symfony,zcodes/symfony,docteurklein/symfony,pyrech/symfony,pyrech/symfony,ajgarlag/symfony,mnapoli/symfony,shieldo/symfony,garak/symfony,garak/symfony,bendavies/symfony,jderusse/symfony,HeahDude/symfony,Deamon/symfony,MatTheCat/symfony,zcodes/symfony,nicolas-grekas/symfony,1ed/symfony,deguif/symfony,1ed/symfony,Slamdunk/symfony,pyrech/symfony,jvasseur/symfony,jvasseur/symfony,localheinz/symfony,andreia/symfony,ajgarlag/symfony,ro0NL/symfony,oleg-andreyev/symfony,Taluu/symfony,tgalopin/symfony,dmaicher/symfony,bendavies/symfony,ragboyjr/symfony,symfony/symfony,fabpot/symfony,sroze/symfony,ogizanagi/symfony,docteurklein/symfony,Koc/symfony,d-ph/symfony,smatyas/symfony,stof/symfony,andrerom/symfony,Slamdunk/symfony,andrerom/symfony,gonzalovilaseca/symfony,oleg-andreyev/symfony,jvasseur/symfony,hhamon/symfony,pierredup/symfony,docteurklein/symfony,stof/symfony,kbond/symfony,ogizanagi/symfony,frankdejonge/symfony,Tobion/symfony,shieldo/symfony,OndraM/symfony,dmaicher/symfony,andrerom/symfony,hhamon/symfony,phramz/symfony,hhamon/symfony,HeahDude/symfony,lstrojny/symfony,curry684/symfony,phramz/symfony,kbond/symfony,symfony/symfony,alekitto/symfony,damienalexandre/symfony,romaricdrigon/symfony,OndraM/symfony,chalasr/symfony,ogizanagi/symfony,smatyas/symfony,Slamdunk/symfony,HeahDude/symfony,joelwurtz/symfony,vincentaubert/symfony,zcodes/symfony,deguif/symfony,jakzal/symfony,jakzal/symfony,docteurklein/symfony,stof/symfony,Deamon/symfony,paradajozsef/symfony,mpdude/symfony,derrabus/symfony,sgehrig/symfony,romaricdrigon/symfony,sgehrig/symfony,smatyas/symfony,SaschaDens/symfony,mweimerskirch/symfony,maidmaid/symfony,kbond/symfony,d-ph/symfony,voronkovich/symfony,tucksaun/symfony,alekitto/symfony,sgehrig/symfony,curry684/symfony,lyrixx/symfony,arjenm/symfony,xabbuh/symfony,garak/symfony,paradajozsef/symfony,xabbuh/symfony,deguif/symfony,smatyas/symfony,maidmaid/symfony,romaricdrigon/symfony,Deamon/symfony,alekitto/symfony,paradajozsef/symfony,nicolas-grekas/symfony,hhamon/symfony,xabbuh/symfony,zcodes/symfony,andreia/symfony,sroze/symfony,zorn-v/symfony,Taluu/symfony,localheinz/symfony,Taluu/symfony,nicolas-grekas/symfony,fabpot/symfony,damienalexandre/symfony,jakzal/symfony,yceruto/symfony,ragboyjr/symfony,frankdejonge/symfony,derrabus/symfony,ragboyjr/symfony,Tobion/symfony,sroze/symfony,OskarStark/symfony,nicolas-grekas/symfony,pierredup/symfony,jderusse/symfony,mpdude/symfony,Simperfit/symfony,Tobion/symfony,vincentaubert/symfony,teohhanhui/symfony,shieldo/symfony,phramz/symfony,smatyas/symfony,maidmaid/symfony,MatTheCat/symfony,andreia/symfony,paradajozsef/symfony,arjenm/symfony,mnapoli/symfony,mpdude/symfony,andrerom/symfony,fabpot/symfony,ogizanagi/symfony,symfony/symfony,d-ph/symfony,d-ph/symfony,lstrojny/symfony,Simperfit/symfony,oleg-andreyev/symfony,Tobion/symfony,OskarStark/symfony,gnat42/symfony,gnat42/symfony,zerkms/symfony,symfony/symfony,vincentaubert/symfony,Koc/symfony