yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #69100
[Bug 1731597] [NEW] Can't set headers when using the list resource api in Neutron Client
Public bug reported:
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:-)
** Affects: neutron
Importance: Undecided
Status: New
--
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
Follow ups