Oh, just now I read your commit message "Pastes to paste.kde.org fine but returns only "http://paste.kde.org/" without the #id of the paste." In that case, there is something wrong. Did you try with too long a text to paste? But I suppose, there is something wrong with the format of the config file. I can accept a working patch, but I currently don't have enough time to help you debug it.
Oh, just now I read your commit message "Pastes to paste.kde.org fine but returns only "http:// paste.kde. org/" without the #id of the paste." In that case, there is something wrong. Did you try with too long a text to paste? But I suppose, there is something wrong with the format of the config file. I can accept a working patch, but I currently don't have enough time to help you debug it.