← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1597686] [NEW] the return value in func process_request in nova/wsgi.py is not proper

 

Public bug reported:

In nova/wsgi.py, there is a function but the return value is limited to
None, which can also be a response.

    def process_request(self, req):
        """Called on each request.
        If this returns None, the next application down the stack will be
        executed. If it returns a response then that response will be returned
        and execution will stop here.
        """
        return None

>From thte comments we can see, the return value for this function should
be "None" or response.


Thanks,
Jeffrey Guan

** Affects: nova
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1597686

Title:
  the return value in func process_request in nova/wsgi.py is not proper

Status in OpenStack Compute (nova):
  New

Bug description:
  In nova/wsgi.py, there is a function but the return value is limited
  to None, which can also be a response.

      def process_request(self, req):
          """Called on each request.
          If this returns None, the next application down the stack will be
          executed. If it returns a response then that response will be returned
          and execution will stop here.
          """
          return None

  From thte comments we can see, the return value for this function
  should be "None" or response.

  
  Thanks,
  Jeffrey Guan

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1597686/+subscriptions


Follow ups