Re: Apache & wsgi & Django > Content-Length

2010-02-02 Thread urosh
Brett Parker THANK YOU! This was it I just added 'django.middleware.http.ConditionalGetMiddleware', to the middleware and that's it. I think I would search answer for this problem for a few days if you would't told me for this middleware. It is strange although that sometimes content-length was se

Re: Apache & wsgi & Django > Content-Length

2010-02-02 Thread urosh
Thank you very much for answering. The examples with wget are done on the same url. Nothing is missing. It's just that sometimes content-length is set and sometimes is not and when that happens i noticed that phone can't fetch xml. Xml is always the same in this case. And in the log of apache.log

Re: Apache & wsgi & Django > Content-Length

2010-02-02 Thread Brett Parker
On 02 Feb 06:30, urosh wrote: > Hello. > > I have a problem with content-length heater in HTTP-message. I am > writing application for voip phone, which is not always specified, > then the phone can't download xml file correctly (stupid, I gess). > > How can I correct this behaviour? > I tested t