Git commit 38eefc85fa7182f89e7dc7905d41e745c275fce4 by Dawit Alemayehu. Committed on 07/05/2011 at 21:26. Pushed by adawit into branch 'KDE/4.6'. Do not send content-type header on the subsequent GET request that occurs as a result of a POST operation redirection. Fixes bug for khtml. For kdewebkit, the fix needs to be done upstream and as such as ticket has been opened there. See http://webkit.org/b/60440. BUG: 269694 FIXED-IN: 4.6.4 M +1 -0 kio/kio/job.cpp http://commits.kde.org/kdelibs/38eefc85fa7182f89e7dc7905d41e745c275fce4 diff --git a/kio/kio/job.cpp b/kio/kio/job.cpp index d4491bc..7d905fb 100644 --- a/kio/kio/job.cpp +++ b/kio/kio/job.cpp @@ -1095,6 +1095,7 @@ void TransferJob::slotFinished() istream >> specialcmd; if (specialcmd == 1) // HTTP POST { + d->m_outgoingMetaData.remove(QLatin1String("content-type")); addMetaData("cache","reload"); d->m_packedArgs.truncate(0); QDataStream stream( &d->m_packedArgs, QIODevice::WriteOnly );