HTTP_Client bugfixes

Signed-off-by: eantwuh <antal.wu-hen-chang@ericsson.com>
diff --git a/IFW_HTTP_Client_Functions.ttcn b/IFW_HTTP_Client_Functions.ttcn
index 2034120..bce5baf 100644
--- a/IFW_HTTP_Client_Functions.ttcn
+++ b/IFW_HTTP_Client_Functions.ttcn
@@ -22,6 +22,8 @@
 	import from IPL4asp_PortType all;
 	import from IFW_Common all;
 	import from TCCMessageHandling_Functions all;
+import from HTTPmsg_MessageLen all;
+
 	
 	modulepar
 	{
@@ -163,7 +165,9 @@
 	function f_HTTP_Client_getMessageLength(in octetstring stream, inout ro_integer args)
     return integer
     {
-      return f_TCCMessageHandling_getMessageLength(stream)
+//      return f_TCCMessageHandling_getMessageLength(stream)
+return f_HTTPMessage_len(stream);
+
     }
     
     function f_HTTP_lookupHeader(charstring p_headerName, in HeaderLines p_headers)
diff --git a/tests/LeshanTestSuite.ttcn b/tests/LeshanTestSuite.ttcn
index fe3470b..4ea6ae9 100644
--- a/tests/LeshanTestSuite.ttcn
+++ b/tests/LeshanTestSuite.ttcn
@@ -187,7 +187,7 @@
     request :=
     {
       client_id := omit,
-  	  method := "GET",
+  	  method := p_method,
   	  uri := p_uri,
   	  version_major := 1,
   	  version_minor := 1,