using content-disposition while guessing of filename/file type from the url