Re: mod_python's request.META["SERVER_PORT"] small bug

2006-09-21 Thread skink
sure, see: #2782 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com To unsubscribe from this group, send email to [EMAI

Re: mod_python's request.META["SERVER_PORT"] small bug

2006-09-21 Thread Malcolm Tredinnick
On Thu, 2006-09-21 at 00:11 -0700, skink wrote: > Seems I have found small bug in core/handlers/modpython.py. > > Namely request.META["SERVER_PORT"] under apache is always set to 0. > > This is because its set to self._req.server.port in modpython.py line > 88. > > mod_python's docs say > (http

mod_python's request.META["SERVER_PORT"] small bug

2006-09-21 Thread skink
Seems I have found small bug in core/handlers/modpython.py. Namely request.META["SERVER_PORT"] under apache is always set to 0. This is because its set to self._req.server.port in modpython.py line 88. mod_python's docs say (http://www.modpython.org/live/current/doc-html/pyapi-mpsrv-mem.html#l2