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

Thiago Macieira thiago.macieira at intel.com
Thu Dec 26 14:11:12 CET 2013


On quinta-feira, 26 de dezembro de 2013 18:15:56, Mandeep Sandhu wrote:
> We could emit download progress for each intermediate request, but
> won't that look strange to a user as the bytes received & _possibly_
> bytes total values will keep changing across these requests? Or is
> that acceptable given the user knows that we're making multiple
> requests on its behalf?

There is no downloadProgress for any intermediate requests. We know that we're 
redirecting before we get the first byte of data out of the server. At that 
point, we can abandon the QHttpNetworkReply and move on to the next already.

-- 
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/20131226/f3fd78ac/attachment.sig>


More information about the Development mailing list