make download and redirectresponse public

@DeepDiver1975 @cosenal @tanghus @Kondou-ger @MorrisJobke