← Back to team overview

yahoo-eng-team team mailing list archive

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

 

I see the above method is present in the base class of Middleware.
Currently, Nova doesn't implement any middleware which overrides the
above method. In future it might be helpful if any middlewares are
developed specific to nova. This doesn't seem to be a valid bug for me.
Hence invalidating it.

** Changed in: nova
       Status: Confirmed => Invalid

-- 
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):
  Invalid

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


References