mirror of
https://github.com/ansible/awx.git
synced 2026-03-07 19:51:08 -03:30
Merge pull request #3824 from AlanCoding/one_less_redirect
Avoid unnecessary OPTIONS redirect
This commit is contained in:
@@ -95,7 +95,7 @@ class ResourceOptionsParser(object):
|
|||||||
|
|
||||||
def get_allowed_options(self):
|
def get_allowed_options(self):
|
||||||
self.allowed_options = self.page.connection.options(
|
self.allowed_options = self.page.connection.options(
|
||||||
self.page.endpoint + '1'
|
self.page.endpoint + '1/'
|
||||||
).headers.get('Allow', '').split(', ')
|
).headers.get('Allow', '').split(', ')
|
||||||
|
|
||||||
def build_list_actions(self):
|
def build_list_actions(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user