code: def hijack_require_http_methods(fn):
      
      required_methods = ['POST']
      if hijack_settings.HIJACK_ALLOW_GET_REQUESTS:
          required_methods.append('GET')
      return require_http_methods(required_methods)(fn)
docs: Wrapper for "require_http_methods" decorator. POST required by default, GET can optionally be allowed