Correctly handle missing Content-Type header