mirror of
https://github.com/ansible/awx.git
synced 2026-05-20 07:17:40 -02:30
Add None check back to get_post_fields (#14155)
This commit is contained in:
committed by
GitHub
parent
4bae961b5f
commit
897a19e127
@@ -525,6 +525,9 @@ class PageCache(object):
|
|||||||
|
|
||||||
options_page = self.get_options(page)
|
options_page = self.get_options(page)
|
||||||
|
|
||||||
|
if options_page is None:
|
||||||
|
return None
|
||||||
|
|
||||||
if 'POST' not in options_page.r.headers.get('Allow', ''):
|
if 'POST' not in options_page.r.headers.get('Allow', ''):
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user