Hi all, I'm trying to figure out how to get a Directory to choose alternative files based on the Accept Encoding header, and after staring at the source for a few hours, it's not apparent to me how to do it. Is there an example of this somewhere? Is it even possible?
What I want is to supply a request with an AE header: GET /foo HTTP/1.1 Accept-Encoding: pack200-gzip and given this filesystem content: foo.jar foo.jar.pack.gz i'd like to configure a mapping (e.g. in MetadataService, like Apache's AddEncoding directive) "pack200-gzip" => "pack.gz" and therefore the directory to choose the correct file (the second one). in my experiments, Directory never looks at the second file. it adds the first one to the list of variants, and that list only ever contains one thing. any ideas? Joel ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2675604

