It appears that HEAD requests are slow (for some value of slow); maybe they time out because something is waiting for the payload? Full test suite: http://greenbytes.de/tech/tc/httpredirects/ Reproducible: Always
See also https://bugs.kde.org/show_bug.cgi?id=330795#c3
Git commit 24d780debd65e5c2e957a0ab3dd1ba5b9885a42b by Dawit Alemayehu. Committed on 11/02/2014 at 14:00. Pushed by adawit into branch 'KDE/4.12'. Fixed XMLHttpRequest HEAD requests in khtml. REVIEW: 115689 FIXED-IN: 4.12.3 M +7 -3 khtml/ecma/xmlhttprequest.cpp M +1 -0 kio/kio/job.cpp http://commits.kde.org/kdelibs/24d780debd65e5c2e957a0ab3dd1ba5b9885a42b
Git commit 3d857d2171d4182954a2f4e90a2bc9a862b5c560 by Andrea Iacovitti. Committed on 12/03/2014 at 21:21. Pushed by aiacovitti into branch 'master'. Fixed XMLHttpRequest HEAD requests in khtml. (kio part) REVIEW: 115689 FIXED-IN: 4.12.3 (Forwardport kdelibs commit 24d780d) CCMAIL: adawit@kde.org M +1 -0 src/core/transferjob.cpp http://commits.kde.org/kio/3d857d2171d4182954a2f4e90a2bc9a862b5c560
The comments in the code are somewhat misleading because RFC 2616 is obsolete. That being said: thanks for fixing this.