Use the request format for source lookup.
add test to verify that extends uses the correct format for lookup
Merge pull request #542 from engineyard/mime-types

Ensure request type is respected with extends