Prevent response object being set as response body
Merge pull request #1139 from ADmad/2.3-dispatcher

Prevent response object being set as response body