File Handler    

MIME Types: *, application/x-vnd.RHV.File

Methods: GET, HEAD

Priority: 5, 15 - for application/x-vnd.RHV.File

Suggested Virtual Resources: None

Virtual Resource Extras: None


The file handler transfers the file specified in the URL without modification. The native MIME type and size of the file are reported in the reply. The file handler supports "If-modified..." headers. This allows the server to report when a file has not been modified since the last time the browser retrieved the file.

If a client claims to support gzip encoding and a file with the same name as the requested resource + ".gz" is present, the File Handler will substitute the gzip file. For example, if a client requests /foo/bar.html and a file named /foo/bar.html.gz exists, the gzip file will be sent instead. Robin Hood will not compress the file on the fly. You will have to gzip the file yourself. Some browsers may claim to support gzip encoding when they really do not. You should be aware of this before blaiming Robin Hood if it does not work.

The file handler supports byte-ranges and can send only a part of a file if requested. This is useful for error recovery and certain streaming media applications.


Robin Hood Web Server for BeOS
Copyright © 1999-2001
The Robin Hood Development Team (see Revision History for details)

BeOS is a registered trademark of Be Inc.