Tuesday, May 29, 2012

Re: Webservice return pdf

a search for

python write file

migh help

On Monday, May 28, 2012 9:51:59 AM UTC+2, Madhu wrote:
Hi! all
I create client & through client i call the web service.
which returns pdf file, i want to stored that file directly.
I use this
response['Content-Disposition'] = 'attachment; filename= 'demo.pdf'
but it will ask the user to store the file, but i want to store it automatically on server.
can anybody please suggest me, how it should be done?

Thanks

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/XbqKGUxAiKwJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment