do not try to determine extension if resource was requested with an extension already