[Development] Proposal for allowing handling of HTTP redirects in QNAM

Thiago Macieira thiago.macieira at intel.com
Mon Dec 30 12:26:42 CET 2013


On segunda-feira, 30 de dezembro de 2013 11:26:48, Mandeep Sandhu wrote:
> > No, it doesn't. It includes only data. The HTTP headers are metadata, so
> > they don't count.
> 
> Even so, the "body" content might still be of different sizes, so the
> total bytes will have to change across redirects. This to me doesn't
> look very consistent.

I say once again: the downloadProgress includes *only* the body, not a single 
byte of header or of overhead. Also, downloadProgress() emitting implies 
readyRead() also emitted, which means bytes to be read are available. That 
only happens once we're at the final body.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20131230/0587ad36/attachment.sig>


More information about the Development mailing list