def METHOD_NAME(self):
    # setup
    inputs = [
        grpcclient.InferInput("INPUT0", [1, 16], "INT32"),
        grpcclient.InferInput("INPUT1", [1, 16], "INT32"),
    ]
    inputs[0].set_data_from_numpy(np.ones(shape=(1, 16), dtype=np.int32))
    inputs[1].set_data_from_numpy(np.ones(shape=(1, 16), dtype=np.int32))
    # This test only care if the request goes through
    with self.assertRaisesRegex(
        InferenceServerException, "This protocol is restricted"
    ):
        _ = self.client_.infer(
            model_name=self.model_name_, inputs=inputs, headers={"test": "1"}
        )
    self.client_.infer(
        model_name=self.model_name_,
        inputs=inputs,
        headers={self.prefix_ + "infer-key": "infer-value"},
    )