kdelibs/kioslave/http http.cc,1.470.2.5,1.470.2.6 http.h,1.123.2.1,1.123.2.2 Author: adawit Thu Apr 11 04:31:25 CEST 2002 In directory office:/tmp/cvs-serv2469 Modified Files: http.cc http.h Log Message: Back port of the following fixes from the HEAD: - Make HTTP authentication over a proxied SSL connection work. Problem reported on kfm-devel by David Bishop. This was broken when we were attempting to fix persistent connections. - Remove unused httpIsConnected function. - Re-do the persistent connection fix and handle it in one place httpClose instead of all the places we call httpCloseConnection now. We only allow persistent connections for GET requests. - Do not send back HTTP Version number as well as header meta-data unless the "PropagateHttpHeader" meta-data has been set. Save some CPU cycles as Waldo suggested. - In send body do not check for responseCode, but rather only check whether or not the POST buffer is empty or not. This one bug (oversight) is responsible or exposing a flurry of other bugs recently fixed :) The POST buffer is properly cleared once we get a valid response header from the server. (DA)