I am using pyramid.response.FileResponse
to serve files. At browser file name changes automatically to some random name. For e.g, file I want to serve is abc.zip
but, at client it prompts to store as 3PE01Sf_.zip.zip
. How to avoid this?
I got another question on similar line. it says use,
response.content_disposition = 'attachment; filename="my_filename.txt"'