added content type and status to response