You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
but i am not running ny nginx server , m just running default wsgi server with django ,and files are still served file ,can you explain how that is happening?
François Schiettecatte
unread,
Apr 29, 2015, 8:05:26 AM4/29/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
You need to be a little more specific about what the context is, and what you are observing, rather than just plastering up some code.
- Is this code in an app you are working with ? Did you write this code ?
- Is the audio file being served by your application through the default wsgi server included in django?
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
yes i am working on this code but i havnt wrote this code otherwise i would not have required the explaination i guess.
and for your second question , i am not sure coz as you said it looked like nginx directive , but i am running it on default wsgi server included in django . so i am asking how wsgi server is serving what a nginx is supposed to serve?
François Schiettecatte
unread,
Apr 29, 2015, 9:47:07 AM4/29/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
Well the response does not seem to contain the audio file, to the best of my knowledge Django does not implement X-Accel-Redirect, are you running all this on the same machine? Maybe your browser is getting the file ? Seems unlikely. Have you tried something like ‘curl’ to make the request in debug mode to see what is coming over the wire back from Django?