diff options
-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"; |