Set Content-Type on provisioner webhook requests
Provisioner webhook requests POST a JSON body, but never set a
Content-Type header. http.NewRequestWithContext populates
ContentLength from the *bytes.Reader body and nothing else, and Go's
HTTP client does not infer a content type, so the request went out
with the body unlabelled.
Webhook servers that dispatch on Content-Type reject these requests.
Express's express.json() and Spring's @RequestBody both require
application/json and respond 400 or hand the handler an empty body.
Set the header alongside the other webhook headers. This covers every
webhook kind, since enriching, authorizing and the SCEP challenge and
notify webhooks all send through DoWithContext.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L76jtApP9cwBbYD3DVSuWW