diff options
Diffstat (limited to 'awxkit')
-rw-r--r-- | awxkit/awxkit/api/pages/page.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/awxkit/awxkit/api/pages/page.py b/awxkit/awxkit/api/pages/page.py index d43840e536..c47ff20a08 100644 --- a/awxkit/awxkit/api/pages/page.py +++ b/awxkit/awxkit/api/pages/page.py @@ -525,6 +525,9 @@ class PageCache(object): options_page = self.get_options(page) + if options_page is None: + return None + if 'POST' not in options_page.r.headers.get('Allow', ''): return None |