how to use the HTTP range header in J2ME?
is it possible to use range header in HTTP with HTTP GET request? if yes than how? I just want to download bytes from server with specified bytes. i.e if I want to download bytes from 0 to 255. See this sample code, HttpConnection connection = null; InputStream inputstream = null; try { connection = (HttpConnection) Connector.open(url); // Enter your URL here. //HTTP Request connection.setRequestMethod(HttpConnection.GET); connection.setRequestProperty("Content-Type","//text plain"); connection.setRequestProperty("Connection", "close"); // HTTP Response System.out.println("Status Line Code: "