Alcumus/react-doc-viewer

Filename from headers

Opened this issue · 0 comments

erkib commented

Add configurable option to detect filename from Content-Disposition header if present.
f.ex.
content-disposition: inline; filename=2021_pricelist.pdf

This would be useful when URL to file is an auto-generated or other kind of API URL.