On the HTTP Response where you are returning the PDF file, ensure the content disposition header looks like:
Content-Disposition: attachment; filename=quot.pdf;
See content-disposition on the wikipedia MIME page.
More Related Contents:
- Force to open “Save As…” popup open at text link click for PDF in HTML
- href image link download on click
- How can I create download link in HTML?
- HTML5 download attribute not working when downloading from another server, even when Access-Control-Allow-Origin is set to all (*)
- How to set name of file downloaded from browser?
- Download textarea contents as a file using only Javascript (no server-side)
- How to download HTTP directory with all files and sub-directories as they appear on the online files/folders list?
- File opens instead of downloading in internet explorer in a href link
- How to force fully download txt file on link?
- download webpage and dependencies, including css images [closed]
- Disabled form inputs do not appear in the request
- Font Awesome 5 on pseudo elements shows square instead of icon
- HTML5 Canvas Rotate Image
- How to keep indent for second line in ordered lists via CSS?
- Why can’t be flex containers?
- Calling wkhtmltopdf to generate PDF from HTML
- How can I make all images of different height and width the same via CSS?
- Hidden features of HTML
- How to horizontally center an unordered list of unknown width?
- Form is submitted when I click on the button in form. How to avoid this?
- space between divs – display table-cell
- HTML5 phone number validation with pattern
- HTML — Two Tables Horizontally Side by Side
- Draw double curved item with beveled edges
- HTML embed autoplay=”false”, but still plays automatically
- CSS Selector for No-Children-But-Not-Empty
- How do you make a div tag into a link
- Is it possible to hide the title from a link with CSS?
- Does JSON-LD have to be embedded?
- How put percentage width into html canvas (no css)