Back to Registry
api.http.header_present
HARD
Verifies that an HTTP response contains expected headers.
Scorecard
| Determinism | deterministic |
| Evidence Quality | hard-state |
| Intended Use | eval-and-train |
| Gating Required | No |
| Permissions | net:http |
Test Fixtures
9 total
| Type | Count |
|---|---|
| Positive | 3 |
| Negative | 3 |
| Adversarial | 3 |
Metadata
| Version | 0.1.0 |
| Domain | api |
| Task Type | state_verification |
| Contributor | vr.dev |
Use in SDK
# CLI
vr verify --verifier api.http.header_present --ground-truth '{"order_id": "ORD-42"}'
# Python
from vrdev import verify
result = verify("api.http.header_present", ground_truth={"order_id": "ORD-42"})
# API
curl -X POST https://api.vr.dev/v1/verify \
-H "X-API-Key: vr_live_..." \
-d '{"verifier": "api.http.header_present", "ground_truth": {"order_id": "ORD-42"}}'