Fixed bug with Request Filetype detection