response type now detected on base of Accept header, not Content-Type