mirror of
https://github.com/ansible/awx.git
synced 2026-02-23 22:16:00 -03: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)
|
||||
|
||||
if options_page is None:
|
||||
return None
|
||||
|
||||
if 'POST' not in options_page.r.headers.get('Allow', ''):
|
||||
return None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user