The headers are *already* separated from the response data when using QNetworkReply. You retrieve the body or response data by the QNetworkReply::read* methods or incrementally by connecting a slot to QNetworkReply::readyRead.
The headers are available via the QNetworkReply::rawHeader* methods.
Bookmarks