Re: Django runserver, the header doesn't contain connection:keep-alive

2016-12-01 Thread 韦然
Thanks. I will try other production servers. 在 2016年12月1日星期四 UTC+8下午9:32:09,emepe写道: > > On Thursday, December 1, 2016 at 6:42:38 AM UTC-3, 韦然 wrote: >> >> Dear all, >> >> The current header is: >> >> HTTP/1.0 200 OK >> >> Date: Thu, 01 Dec 2016 08:33:29 GMT >> >> Server: WSGIServer/0.1 Python/2.

Re: Django runserver, the header doesn't contain connection:keep-alive

2016-12-01 Thread emepe
On Thursday, December 1, 2016 at 6:42:38 AM UTC-3, 韦然 wrote: > > Dear all, > > The current header is: > > HTTP/1.0 200 OK > > Date: Thu, 01 Dec 2016 08:33:29 GMT > > Server: WSGIServer/0.1 Python/2.7.12 > > X-Frame-Options: SAMEORIGIN > > Content-Type: text/xml > > > The docs states clearly that ru

Re: Django runserver, the header doesn't contain connection:keep-alive

2016-12-01 Thread Avraham Serour
Don't use runserver fur production, use nginx with uwsgi On Dec 1, 2016 11:42 AM, "韦然" wrote: > Dear all, > > The current header is: > > HTTP/1.0 200 OK > > Date: Thu, 01 Dec 2016 08:33:29 GMT > > Server: WSGIServer/0.1 Python/2.7.12 > > X-Frame-Options: SAMEORIGIN > > Content-Type: text/xml > >