imbo/imbo — pull request #71 by christeredvartsen (2012-06-03 10:07:25+00:00)
Title: Drop content negotiation if a specific type has been requested

If the user agent specifies a specific content type in the URI (for instance `GET /users//images/.jpg` or `GET /status.json`) Imbo will skip the content negotiation part completely. It will also remove `Accept` from the `Vary` response header if this is the case.

If the user agent specifies a resource without a specific extension (for instance `GET /users//images/` or `GET /status`) Imbo will pick the best match based on the `Accept` headers found in the request.