Fix response header parsing


The QHttpHeaders class returns header values as QByteArrays, so
do not convert them to QStrings immediately.
Instead, do all the parsing as byte arrays, and only convert to
strings when really necessary.

As a drive-by: fix a couple of places where the headers were
parsed case-sensitively.

This is a pre-requisite for fixing Content-Disposition header
parsing in scope of the linked task.

Task-number: QTBUG-141443
Pick-to: 6.11
Change-Id: Ib6951134cd59d5ce9964c1be23ee3654b7a2694f
Reviewed-by: Tatiana Borisova <tatiana.borisova@qt.io>
Reviewed-by: Rym Bouabid <rym.bouabid@qt.io>
commit118612a9b0f88650bed2197b831c382769855776
parentb29b5673b0d42dc34d4640f9af3a10fc304d1562
authorIvan Solovev <ivan.solovev@qt.io>
committerIvan Solovev <ivan.solovev@qt.io>
commit timeThu, 15 Jan 2026 11:08:59 +0100