original_docstring: Lazy loader that returns self.META dictionary
docstring: Lazy loader that returns self.META dictionary
docstring_tokens: Lazy loader that returns self . META dictionary
code: def _get_meta(self):
          "Lazy loader that returns self.META dictionary"
          if not hasattr(self, '_meta'):
              self._meta = {
                  'AUTH_TYPE':         self._req.ap_auth_type,
                  'CONTENT_LENGTH':    self._req.headers_in.get('content-length', 0),
                  'CONTENT_TYPE':      self._req.headers_in.get('content-type'),
                  'GATEWAY_INTERFACE': 'CGI/1.1',
                  'PATH_INFO':         self.path_info,
                  'PATH_TRANSLATED':   None, # Not supported
                  'QUERY_STRING':      self._req.args,
                  'REMOTE_ADDR':       self._req.connection.remote_ip,
                  'REMOTE_HOST':       None, # DNS lookups not supported
                  'REMOTE_IDENT':      self._req.connection.remote_logname,
                  'REMOTE_USER':       self._req.user,
                  'REQUEST_METHOD':    self._req.method,
                  'SCRIPT_NAME':       self.django_root,
                  'SERVER_NAME':       self._req.server.server_hostname,
                  'SERVER_PORT':       self._req.connection.local_addr[1],
                  'SERVER_PROTOCOL':   self._req.protocol,
                  'SERVER_SOFTWARE':   'mod_python'
              }
              for key, value in self._req.headers_in.items():
                  key = 'HTTP_' + key.upper().replace('-', '_')
                  self._meta[key] = value
          return self._meta
code_tokens: def _get_meta ( self ) : if not hasattr ( self , '_meta' ) : self . _meta = { 'AUTH_TYPE' : self . _req . ap_auth_type , 'CONTENT_LENGTH' : self . _req . headers_in . get ( 'content-length' , 0 ) , 'CONTENT_TYPE' : self . _req . headers_in . get ( 'content-type' ) , 'GATEWAY_INTERFACE' : 'CGI/1.1' , 'PATH_INFO' : self . path_info , 'PATH_TRANSLATED' : None , 'QUERY_STRING' : self . _req . args , 'REMOTE_ADDR' : self . _req . connection . remote_ip , 'REMOTE_HOST' : None , 'REMOTE_IDENT' : self . _req . connection . remote_logname , 'REMOTE_USER' : self . _req . user , 'REQUEST_METHOD' : self . _req . method , 'SCRIPT_NAME' : self . django_root , 'SERVER_NAME' : self . _req . server . server_hostname , 'SERVER_PORT' : self . _req . connection . local_addr [ 1 ] , 'SERVER_PROTOCOL' : self . _req . protocol , 'SERVER_SOFTWARE' : 'mod_python' } for key , value in self . _req . headers_in . items ( ) : key = 'HTTP_' + key . upper ( ) . replace ( '-' , '_' ) self . _meta [ key ] = value return self . _meta
short_docstring: Lazy loader that returns self.META dictionary
short_docstring_tokens: Lazy loader that returns self . META dictionary
comment: "Lazy loader that returns self.META dictionary"$SEP$# Not supported$SEP$# DNS lookups not supported