HTTP 2.0 with redirect is not working
Solved
General and Desktop
-
I'm sending a QNetworkRequest for a request with redirect and I'm setting these two attributes:
request->setAttribute(QNetworkRequest::HTTP2AllowedAttribute, true); request->setAttribute(QNetworkRequest::FollowRedirectsAttribute, true);
But when Qt tries to do the redirect, it prints
QHttpNetworkConnectionPrivate::_q_hostLookupFinished could not de-queue request
And looks like the request is never finished.
It works fine if I remove the redirection attribute and do the redirection manually. Is this a Qt bug?
-
Hi,
Can you share the link to the related bug report ?
-
Thanks !