In general, e.g., in the S3 ListBucket response, the
output Formatter is already of the type requested in the HTTP
Accept header.
Therefore, while there are still many instances where the of
Formatter is assumed to be XML, it appears necessarily safe
and seemingly correct to extend this assumption to end_header(...),
which sends the response content-type.
Fixes: https://tracker.ceph.com/issues/55680 Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>