Ticket #6647: self_path_dummy.patch
File self_path_dummy.patch, 764 bytes (added by , 17 years ago) |
---|
-
django/core/servers/basehttp.py
551 551 def __init__(self, *args, **kwargs): 552 552 from django.conf import settings 553 553 self.admin_media_prefix = settings.ADMIN_MEDIA_PREFIX 554 # Need this or self.log_message() will die on some "bad requests", 555 # such as "OPTIONS * / HTTP/1.1". 556 # (Maybe this is a BaseHTTPRequestHandler bug?) 557 # See "9.2 OPTIONS" on http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html 558 self.path = '' 554 559 BaseHTTPRequestHandler.__init__(self, *args, **kwargs) 555 560 556 561 def get_environ(self):