Fix #348 Unable to change Content-Type for respondFile and respondResource