This commit removes the quality value of the selected media type before setting it in the request attribute. Closes gh-26315