[Development] QHttp removal
Peter Hartmann
peter.hartmann at nokia.com
Wed Jan 4 11:47:37 CET 2012
On 01/03/2012 01:07 PM, ext Thiago Macieira wrote:
> On Tuesday, 3 de January de 2012 09.53.41, Jonas M. Gastal wrote:
>> As for removing them entirely yes, it would require changes in the HTTP
>> socket engine and QAuthenticator. But given that both of them use
>> QHttpResponseHeader I see no reason to duplicate the code in both classes,
>> perphaps it would be preferable to simply strip the not used functionality
>> from the existing QHttpResponseHeader class?
>
> I'm pretty sure that the functionality exists in QNetworkRequestPrivate plus
> the feeding of line by line, found in the QNAM's HTTP engine. We don't need to
> keep even the QHttpResponseHeader class.
I also think the only reason for the old header classes from QHttp to
still exist is that it is used inside QtNetwork, ideally we want to get
rid of them altogether and have only one code path for the header files
(i.e. the one in QNAM)...
Peter
>
>
>
>
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development
More information about the Development
mailing list