have you tried this: QByteArray QNetworkReply::rawHeader ( const QByteArray & headerName ) const