epic download servlet rewrite