"HttpConnection: close\n"+
"Connection: close\n"+
    public void t_e_s_t_8_2()    {                try        {            TestListener listener = new TestListener();            String response;            int offset=0;            // Expect Failure            offset=0;            response=listener.getResponses("GET /R1 HTTP/1.1\n"+                                           "Host: localhost\n"+                                           "Expect: unknown\n"+                                           "Content-Type: text/plain\n"+                                           "Content-Length: 8\n"+                                           "\n");            offset=checkContains(response,offset,                                   "HTTP/1.1 417","8.2.3 expect failure")+1;            // TODO            /*            // No Expect            offset=0;            response=listener.getResponses("GET /R1 HTTP/1.1\n"+                                           "Host: localhost\n"+                                           "Content-Type: text/plain\n"+                                           "Content-Length: 8\n"+                                           "\n");            assertEquals("8.2.3 no expect no 100",-1,response.indexOf("HTTP/1.1 100"));            offset=checkContains(response,offset,                                   "HTTP/1.1 200","8.2.3 no expect no 100")+1;            */                        // Expect with body            offset=0;            response=listener.getResponses("GET /R1 HTTP/1.1\n"+                                           "Host: localhost\n"+                                           "Expect: 100-continue\n"+                                           "Content-Type: text/plain\n"+                                           "Content-Length: 8\n"+                                           "HttpConnection: close\n"+                                           "\n"+                                           "123456\015\012");            offset=checkContains(response,offset,                                   "HTTP/1.1 100 Continue","8.2.3 expect 100")+1;            offset=checkContains(response,offset,                                   "HTTP/1.1 200 OK","8.2.3 expect with body")+1;                                        // TODO                            /*                   assertEquals("8.2.3 expect with body",-1,response.indexOf("HTTP/1.1 100"));                        // Expect 100            offset=0;            response=listener.getResponses("GET /R1 HTTP/1.1\n"+                                           "Host: localhost\n"+                                           "Expect: 100-continue\n"+                                           "Content-Type: text/plain\n"+                                           "Content-Length: 8\n"+                                           "\n");            offset=checkContains(response,offset,                                   "HTTP/1.1 100 Continue","8.2.3 expect 100")+1;            offset=checkContains(response,offset,                                   "HTTP/1.1 200","8.2.3 expect 100")+1;                                   */                    }        catch(Exception e)        {            e.printStackTrace();            assertTrue(false);        }        finally{        }    }