Closed doumdi closed 5 years ago
Many thanks again my friend. Would you like to commit? I would like you to keep credits for this contribution.
This is such a small contribution, you can take credit for it. I am not sure though if it fits all use cases.
Hello my friend. This problem has been fixed.
Thanks for reporting it.
I had to patch HttpParser To handle multiple cookies. QNetworkCookie::parseCookies expects cookies separated by '\n' but the browsers send them separated by semicolons only. I replaced the line
const QByteArray &txt = temp[i];
byQByteArray txt = temp[i].replace(";",";\n");
(adding a '\n' for every cookie) and it fixed the problem.