diff --git a/README.md b/README.md index 19bf9a4..af4fd7c 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,11 @@ This is an implementation of [OpenSubtitle's Moviehash](https://trac.opensubtitl ```ruby Moviehash.compute_hash("test/files/breakdance.avi") => "8e245d9679d31e12" -# via the web - run this in the console: +``` + +When computing the hash of a file on the web, only the required bytes are downloaded, using HTTP's Range requests +```ruby +# via the web - run this in the console to test: # ruby -run -e httpd test/files -p 8000 Moviehash.compute_hash("http://localhost:8000/breakdance.avi") => "8e245d9679d31e12"