"John Krukoff" <[EMAIL PROTECTED]> writes: > I'd love to know how Java handles all that automatically through a > generic stream interface, though.
It could be that their stream interface supports seek(), and that seek()ing on HTTP connection sends the appropriate range request and, if it fails, throws an appropriate exception which the client code interprets as "seeking impossible, read the whole file". But that doesn't apply to the InputStream interface described at http://java.sun.com/j2se/1.5.0/docs/api/java/io/InputStream.html -- no seeking there. -- http://mail.python.org/mailman/listinfo/python-list