← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1731597] Re: Can't set headers when using the list resource api in Neutron Client

 

*** This bug is a duplicate of bug 1720432 ***
    https://bugs.launchpad.net/bugs/1720432

This smells like duplicate of bug 1720432

** This bug has been marked a duplicate of bug 1720432
   Request headers are thrown away

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1731597

Title:
  Can't set headers when using the list resource api in Neutron Client

Status in neutron:
  New

Bug description:
  In neutronclient/v2_0/client.py, the api of listing resouce will call

  def list(self, collection, path, retrieve_all=True, **params):
  this list method will call

  def _pagination(self, collection, path, **params):
  this _pagination method will call

  def get(self, action, body=None, headers=None, params=None):

  
  We can see that we can set headers when using get(). But in list(),_pagination() they overlooked
  the headers. In order to list the resource, I used the api of list(). But when I call the api of list, I can't set headers.

  Best regards:-)

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


References