if (ie) {
if (cn instanceof HttpURLConnection) { return ((HttpURLConnection) cn).getRequestMethod(); } else {
	public String getRequestMethod()  {    if (cn == null) {      return null;    }    // workaround for IE    if (ie) {      return null;    }    return ((HttpURLConnection) cn).getRequestMethod();  }