diff options
author | pixel <pixel> | 2007-06-17 15:44:25 +0000 |
---|---|---|
committer | pixel <pixel> | 2007-06-17 15:44:25 +0000 |
commit | a3ab75b196d03412493eb9fbf70ead4592857972 (patch) | |
tree | 5c489c15a1dd50012c4825f5618835ae09a3c46d | |
parent | 9c524c971f967ccd981ec02891b931587d6b1477 (diff) |
Inversion of GET and POST...
-rw-r--r-- | lib/HttpClient.cc | 4 |
1 files 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 <TaskMan.h> #include <HttpClient.h> @@ -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"; |