Hi,

I am trying to download a file from server like this

*response.headers['Content-Type'] =  'text/csv'*
*
*
*response.headers['Content-disposition'] = 'attachment; 
filename=suggest.csv'*
*
*
*fapp = FileApp(<Full File Path>)*
*
*
*return fapp(request.environ, self.start_response)*

But i am getting trying to download a file from server like this *
*
*
**"Method Not Allowed**
*

*The method POST is not allowed for this resource.\r\nYou cannot POST a file
*
*WSGI Server"*

Please help me 

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/pylons-discuss/-/66EIzPurnP4J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to