@Test
public void shouldSupportUnboundedEndRangeRequests() throws Exception {
String contents = "the yellow fox jumped over the blue log";
writeFile("some_file", contents);
StubHttpRequest request = request("/some_file");
request.header("Range", "bytes=0-");
StubHttpResponse response = handle(request);
assertReturnedWithStatus(206, response);
assertEquals(String.valueOf(contents.length()), response.header("Content-Length"));
assertEquals("bytes 0-" + (contents.length() - 1) + "/" + contents.length(), response.header("Content-Range"));
assertEquals(contents, response.contentsString());