How can we parse HTTP response header fields using Qt/C++?
I am writing a piece of software that uses Qt/KDE libs. The objective is to parse the HTTP header response fields into different fields of a struct. So far the HTTP header response is contained in a QString. It looks something like this: "HTTP/1.1 302 Found date: Tue, 05 Jun 2012 07:40:16 GMT server: Apache/2.2.22 (Linux/SUSE) x-prefix: 49.244.80.0/21 x-as: 23752 x-mirrorbrain-mirror: mirror.averse.net x-mirrorbrain-realm: region link: <http://download.services.openoffice.org/files/du.list.meta4>; rel=describedby; type="application/metalink4+xml" link: <http://download.services.openoffice.org