I also noticed this but I thought that you did it this way because it is possible to write text or binary data in the Response depending on the mime type. Otherwise the caller should make this decision and it will be definetily harder for it.