Revision 1211568

Go back to digest for 9th January 2011

Features in KDE Base

Artur Duque de Souza committed changes in /trunk/KDE/kdebase/workspace/plasma/generic/dataengines/share:

Add support for GET protocol

Now the dataengine supports the "GET" protocol. The way to use it is to
define a function in the main script file of the plugin as follows (in JS):

function method() {
return "GET";
}

One may also return "POST" but this is optional and also the default method.
Please, note that it is not necessary to have the above method. If it is not found
the dataengine will fallback to the default method.

File Changes

Modified 3 files
  • /trunk/KDE/kdebase/workspace/plasma/generic/dataengines/share
  •   /shareprovider.cpp
  •   /shareprovider.h
  •   /shareservice.cpp
3 files changed in total