Error with "void QHttp::responseHeaderReceived ( const QHttpResponseHeader & resp )"
hi friends. im working with http and im trying to show the recived header file in a text box... so im using
Re: Error with "void QHttp::responseHeaderReceived ( const QHttpResponseHeader & resp
Uh oh! Abducted by aliens mid-sentence... never bodes well :D
You should not be using QHttp in new code.
Quote:
This class is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.
You should use QNetworkRequest, QNetworkAccessManager and QNetworkReply. In QNetworkReply you'll find various ways to access the headers in the response (which I think is what you wanted) or the HTTP response code (see QNetworkReply::attribute())
Re: Error with "void QHttp::responseHeaderReceived ( const QHttpResponseHeader & resp