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

Thiago Macieira thiago.macieira at intel.com
Sat Dec 28 23:09:41 CET 2013


On quinta-feira, 26 de dezembro de 2013 14:42:21, Richard Moore wrote:
> On 26 December 2013 13:11, Thiago Macieira <thiago.macieira at intel.com> 
wrote:
> > 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.
> Hmm true, though we'll have to make sure we read any body provided
> rather than just abandon the request or we can't reuse the connection.

Right, but that's done in the background, without affecting the user-visible 
QNetworkReply. We should drain the socket and then make it ready for being 
reused for a new request.

-- 
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/20131228/07797971/attachment.sig>


More information about the Development mailing list