Monday, September 5, 2022

Re: serving 206 Byte-Range during development

use gunicorn or uwsgi with autoreload



On Monday, September 5, 2022 at 5:22:01 AM UTC-4 vjwork wrote:
I'm embedding jbrowse2 in a django site, but during development I get the following error

Error: HTTP 200 (OK) when fetching /static/jbrowse/assembly/genome.fasta bytes 0-15871 (should be 206 for range requests)

Turns out the default django dev server cannot handle streaming requests. What would be a good solution to serve the steams during development?

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/880bd712-ce91-405c-8768-df78f7f53cc3n%40googlegroups.com.

No comments:

Post a Comment