"HttpConnection: close\n"+
"Connection: close\n"+
    public void t_e_s_t_10_2_7()    {             // TODO        /*           try        {            TestListener listener = new TestListener();            String response;            int offset=0;            // check to see if corresponging GET w/o range would return             //   a) ETag            //   b) Content-Location            // these same headers will be required for corresponding             // sub range requests             response=listener.getResponses("GET /" + TestRFC2616.testFiles[0].name + " HTTP/1.1\n"+                                           "Host: localhost\n"+                                           "HttpConnection: close\n"+                                           "\n");            boolean noRangeHasContentLocation = (response.indexOf("\r\nContent-Location: ") != -1);            // now try again for the same resource but this time WITH range header            response=listener.getResponses("GET /" + TestRFC2616.testFiles[0].name + " HTTP/1.1\n"+                                           "Host: localhost\n"+                                           "HttpConnection: close\n"+                                           "Range: bytes=1-3\n"+                                           "\n");            offset=0;            offset=checkContains(response,offset,                                   "HTTP/1.1 206 Partial Content\r\n",                                   "1. proper 206 status code");            offset=checkContains(response,offset,                                    "Content-Type: text/plain",                                   "2. _content type") + 2;            offset=checkContains(response,offset,                                   "Last-Modified: " + TestRFC2616.testFiles[0].modDate + "\r\n",                                    "3. correct resource mod date");            // if GET w/o range had Content-Location, then the corresponding             // response for the a GET w/ range must also have that same header            offset=checkContains(response,offset,                                    "Content-Range: bytes 1-3/26",                                   "4. _content range") + 2;            if (noRangeHasContentLocation) {                    offset=checkContains(response,offset,                                   "Content-Location: ",                                   "5. Content-Location header as with 200");            }             else {                    // no need to check for Conten-Location header in 206 response                    // spec does not require existence or absence if these want any                    // header for the get w/o range            }            String expectedData = TestRFC2616.testFiles[0].data.substring(1, 3+1);            offset=checkContains(response,offset,                                    expectedData,                                    "6. subrange data: \"" + expectedData + "\"");    }        catch(Exception e)        {            e.printStackTrace();            assertTrue(false);        }                */    } 