Don't assume there's a Content-Type header

Fixes https://app.getsentry.com/sentry/sentry/group/16258585/