int nEnvarVariables = 0;
    protected void handlePost() throws IOException {        Debug.message("httpconnection", "HttpConnection | handlePost");        String line;        int nEnvarVariables = 0;        int contentLength = 0;        try {            while (isConnectionOpen) {                // read in a line                line = in.readLine();                Debug.message("httpconnection", line);                if (line == null)                    break;                String lineupp = line.toUpperCase();                if (lineupp.startsWith("CONTENT-LENGTH")) {                    contentLength = readContentLength(line);                    Debug.message("httpconnection",                            "HttpConnection -- Contentlength = "                                    + contentLength);                }                if (line.equals("")) {                    readContent(contentLength);                }            }        } catch (IOException e) {        } finally {            try {                close();            } catch (IOException e2) {            }        }    }