in reply to Perl output is not inducing file download as expected

-type => 'application/octet-stream',

Shouldn't that be:

-type => 'application/pdf',

https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types

Replies are listed 'Best First'.
Re^2: Perl output is not inducing file download as expected
by Polyglot (Chaplain) on Sep 23, 2023 at 11:51 UTC
    The "octet-stream" categorization came from the suggestion of multiple websites as being a designation sure to prompt the download dialogue in the browser. In my case, obviously, it didn't--but then, neither did "pdf" or "x-download" or anything else I had tried. See my full solution that I finally found in my own response (to be posted shortly).

    Blessings,

    ~Polyglot~