On 2013-12-23 15:59, dv wrote:
Hope this helps. Development of site is on a Windows box (using
localhost) but production is on Linux.

From site, want users to download content (eg. pdf, tar, rar) files,
and are using a javascript library in the html code to handle the
content download.

Which library?


Using werkzeug run_simple web server on Windows (during development),
it fails to download the content file - the browser displays the
message "Failed - No file" ie. the content file cannot be found.
However, just dragging the index.html file into Chrome, the content
file can be downloaded ie. the paths are correct for the download
content file to work.

So, is this because run_simple doesn't support downloading of files
on a Windows localhost environment or is it because werkzeug should be
running on an http server (eg. Apache or nginx) or something else? On
production site, nginx is used.

I can't say. Did you try to use the developer tools of Chrome (F12) to show which network requests are failing?



 --
 You received this message because you are subscribed to the Google
Groups "pocoo-libs" group.
 To unsubscribe from this group and stop receiving emails from it,
send an email to [email protected].
 To post to this group, send email to [email protected].
 Visit this group at http://groups.google.com/group/pocoo-libs [1].
 For more options, visit https://groups.google.com/groups/opt_out [2].


Links:
------
[1] http://groups.google.com/group/pocoo-libs
[2] https://groups.google.com/groups/opt_out

--
You received this message because you are subscribed to the Google Groups 
"pocoo-libs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pocoo-libs.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to