From a3ab75b196d03412493eb9fbf70ead4592857972 Mon Sep 17 00:00:00 2001 From: pixel Date: Sun, 17 Jun 2007 15:44:25 +0000 Subject: Inversion of GET and POST... --- lib/HttpClient.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/HttpClient.cc b/lib/HttpClient.cc index 8b18f07..8e6bb58 100644 --- a/lib/HttpClient.cc +++ b/lib/HttpClient.cc @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: HttpClient.cc,v 1.11 2007-06-17 15:24:44 pixel Exp $ */ +/* $Id: HttpClient.cc,v 1.12 2007-06-17 15:44:25 pixel Exp $ */ #include #include @@ -70,7 +70,7 @@ int HttpClient::Do() throw (GeneralException) { } RemoveTimeout(); - b << (do_post ? "GET " : "POST ") + uri + " HTTP/1.1\r\n" + b << (do_post ? "POST " : "GET ") + uri + " HTTP/1.1\r\n" "Host: " + host + "\r\n" "Connection: close\r\n"; -- cgit v1.2.3