Consent? I send an HTTP request. Server sends an HTTP response. My browser (or not browser - is cURL violating "consent"?) interprets that as I wish.
If you don't want to show me content, return a 3XX/4XX/5XX.
If you don't want to show me content, return a 3XX/4XX/5XX.