def options(self, headers=None): """ Method for making a HTTP OPTIONS request on resource's endpoint. """ r = requests.options(self.endpoint, headers=headers, auth=self.auth) return r