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

Richard Moore rich at kde.org
Thu Dec 26 14:06:42 CET 2013


On 26 December 2013 12:45, Mandeep Sandhu <mandeepsandhu.chd at gmail.com> wrote:
>>> Your thoughts?
>>
>> The download progress signal will have to be emitted for the
>> intermediate requests. Things like operation() and url() are stored in
>> the request object which can't be changed by the QNAM at all. If
>> people want all the details then they must implement their own
>> redirection support. The built in support can only cover the simple
>> cases.
>
> 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?

Yes. since the app has to opt-in to get redirection support we can
require that the app understands that this can occur.

Cheers

Rich.

>
> -mandeep



More information about the Development mailing list