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

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

2016-12-01 Thread
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 And the process code is : from django.shortcuts import render from django.http import HttpResponse import