def METHOD_NAME(self):
    required_headers = (
        "API-Version",
        "Builder-Version",
        "Docker-Experimental",
        "Cache-Control",
        "Pragma",
        "Pragma",
    )
    def check_headers(req):
        for k in required_headers:
            self.assertIn(k, req.headers)
    r = requests.get(self.podman_url + "/_ping")
    self.assertEqual(r.status_code, 200, r.text)
    self.assertEqual(r.text, "OK")
    check_headers(r)
    r = requests.head(self.podman_url + "/_ping")
    self.assertEqual(r.status_code, 200, r.text)
    self.assertEqual(r.text, "")
    check_headers(r)
    r = requests.get(self.uri("/_ping"))
    self.assertEqual(r.status_code, 200, r.text)
    self.assertEqual(r.text, "OK")
    check_headers(r)
    r = requests.head(self.uri("/_ping"))
    self.assertEqual(r.status_code, 200, r.text)
    self.assertEqual(r.text, "")
    check_headers(r)