Comment 1 for bug 493813

Revision history for this message
Roman Yepishev (rye) wrote : Re: Cannot view files in Konqueror

I was not able to reproduce the view problem, the file list is populated in Konqueror.
(Need to test the file list order properly, looks like it is changing upon reloads)

However, delete functionality is really broken.

Here's why:

kdelibs-728671/khtml/ecma/xmlhttprequest.cpp:
void XMLHttpRequest::send(const QString& _body, int& ec)
{
   ...
   if (method == "post") {
     QString protocol = url.protocol().toLower();
     ...

     job = KIO::http_post( url, buf, KIO::HideProgressInfo );
     ...
   }
   else {
> job = KIO::get( url, KIO::NoReload, KIO::HideProgressInfo );
   }
   ...
}

So DELETE method does not get to the server for XMLHttpRequests.

This is a bug in KHTML, so it should be reported to KDE devs. We need to check other browsers using KHTML (and WebKit) too.