On Nov 14, 2017 3:04 PM, "Matthew Pava" wrote:
We can download PDFs in our project.
We start out generating the PDF on the server. We read the contents of it
into a variable to put it into memory. Then we delete the file on the
server (it’s still in memory), and the
Many thanks for your reply ! ! !
On Tuesday, November 14, 2017 at 5:05:20 PM UTC-6, Matthew Pava wrote:
>
> We can download PDFs in our project.
>
> We start out generating the PDF on the server. We read the contents of it
> into a variable to put it into memory. Then we delete the file on the
We can download PDFs in our project.
We start out generating the PDF on the server. We read the contents of it into
a variable to put it into memory. Then we delete the file on the server (it’s
still in memory), and the response is itself the PDF document.
I’ll share the last bit of code that
well, we could see the use case to see the correct approach but, what comes
to mind is using try/except/finally
On Nov 14, 2017 17:56, "Ruifeng Hu" wrote:
> Hi All,
>
> I am now writing a web service which can generate a file and download it
> automatically for users,
Hi All,
I am now writing a web service which can generate a file and download it
automatically for users, but I want to delete it after the file has been
downloaded(after return the HttpResponse). What should I do ?
Thank You!
Ruifeng Hu
--
You received this message because you are
5 matches
Mail list logo