19 #ifndef QGSNETWORKREPLYPARSER_H
20 #define QGSNETWORKREPLYPARSER_H
22 #include <QNetworkReply>
50 int parts()
const {
return mHeaders.size(); }
56 QByteArray
rawHeader(
int part,
const QByteArray & headerName )
const {
return mHeaders.value( part ).value( headerName ); }
59 QList< RawHeaderMap >
headers()
const {
return mHeaders; }
64 QByteArray
body(
int part )
const {
return mBodies.value( part ); }
67 QList<QByteArray>
bodies()
const {
return mBodies; }
70 QString
error()
const {
return mError; }
74 static bool isMultipart( QNetworkReply *reply );