refactored passing of static info on request types (e.g. used for detecting extension for file downloads