I’m using the WebDev module in 8.1 to get a PDF from a database and send it to both a Perspective client, and possibly just a regular browser.
When sending the data back from the WebDev module I’m doing the following:
Which works splendidly for returning the PDF. However when I access this doGet from a web browser it end up being returned as the name of the resource, in this case GetTicket, rather than something I can specify.
Is there something I can return in the dict that will provide the client web browser with a suggested name for this .pdf file?