[Qt-interest] Remove Headers from QNetworkRequest

Gopalakrishna Bhat gopalakbhat at gmail.com
Fri Nov 12 12:10:24 CET 2010


Hi,

Try setRawHeader and setHeader in QNetworkRequest.

With regards,
Gopalakrishna Bhat

On Fri, Nov 12, 2010 at 4:01 PM,  <siteshwar at gmail.com> wrote:
> Hello,
>
> I'm trying to send http request using QNetworkRequest, and it automatically
> adds following headers to my http request:
>
> Connection: Keep-Alive
> Accept-Encoding: gzip
> Accept-Language: en-IN,*
>
> How can I stop QNetworkRequest from adding these headers ?
>
> Regards,
> Siteshwar
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>



-- 
My blog http://gkbhat.blogspot.com



More information about the Qt-interest-old mailing list