final String contentType, final int responseCode, final String responseMessage) throws IOException {
final List<NameValuePair> headers = new ArrayList<NameValuePair>();
final String encoding = "UTF-8";
headers.add(new NameValuePair("content-type", contentType + "; charset=" + encoding));
final byte[] body = content.getBytes(encoding);
final WebResponseData wrd = new WebResponseData(body, responseCode, responseMessage, headers);
return new WebResponseImpl(wrd, wr.getUrl(), wr.getHttpMethod(), 0);
}