fix content_type mismatch for immediate responses, issue #9