121122123124125126127128129130131
// Seek to 101 should not result in another request" is.seek(2500); is.read(); ((MockHttpURLConnection) rspy.openConnection()).setResponseCode(206); is.seek(0); try { is.read(); fail("Exception should be thrown when 206 response is given "