mirror of
https://github.com/ansible/awx.git
synced 2026-01-09 23:12:08 -03:30
Add None check back to get_post_fields (#14155)
This commit is contained in:
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
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user