Avoid unnecessary OPTIONS redirect

This commit is contained in:
AlanCoding 2019-10-16 09:08:22 -04:00
parent c2743d8678
commit 2123092bdc
No known key found for this signature in database
GPG Key ID: FD2C3C012A72926B

View File

@ -95,7 +95,7 @@ class ResourceOptionsParser(object):
def get_allowed_options(self):
self.allowed_options = self.page.connection.options(
self.page.endpoint + '1'
self.page.endpoint + '1/'
).headers.get('Allow', '').split(', ')
def build_list_actions(self):