I've had a bunch of cases where PDF files were generated for me in response to a POST request, including a token valid for exactly one request.
I can read these PDFs fine in the browser, but if I hit refresh I get served a page telling me that my token expired, as expected.
If I hit the download button or Ctrl+S in the chrome PDF viewer, it fails like this:
Clearly, it's sending a second request for the document, even though it already has it.
How can I actually save this PDF to my computer?