def METHOD_NAME(self, method):
    request = self.make_request(method=method)
    request.META["HTTP_ORIGIN"] = "http://example.com"
    resp = dummy_endpoint(request)
    resp.render()
    assert resp.status_code == HTTP_200_OK
    self.assert_deprecation_metadata(request, resp)