Index: TestHarness4LAMS2/src/org/lamsfoundation/testharness/Call.java =================================================================== RCS file: /usr/local/cvsroot/TestHarness4LAMS2/src/org/lamsfoundation/testharness/Call.java,v diff -u -r1.8 -r1.9 --- TestHarness4LAMS2/src/org/lamsfoundation/testharness/Call.java 13 Jan 2014 13:05:41 -0000 1.8 +++ TestHarness4LAMS2/src/org/lamsfoundation/testharness/Call.java 16 Jan 2014 16:46:42 -0000 1.9 @@ -120,7 +120,6 @@ private String url; private WebForm form; private InputStream is; - private String contentType; // for WEB POST method static { @@ -165,14 +164,12 @@ this.url = url; } - public Call(WebConversation wc, AbstractTest test, String description, String url, InputStream is, - String contentType) { + public Call(WebConversation wc, AbstractTest test, String description, String url, InputStream is) { this.wc = wc; this.test = test; this.description = description; this.url = url; this.is = is; - this.contentType = contentType; } public Call(WebConversation wc, AbstractTest test, String description, WebForm form) { @@ -218,7 +215,7 @@ req = new GetMethodWebRequest(absoluteURL); } else { callee = "POST " + url; - req = new PostMethodWebRequest(absoluteURL, is, contentType); + req = new PostMethodWebRequest(absoluteURL, is, "application/x-www-form-urlencoded;charset=utf-8"); } Call.log.debug(callee); start = System.currentTimeMillis();