Revert "Fixed injection function empty body issue."

This reverts commit 9d39716a8ce824fa30468297af2b2ffe87be3ab9.
Fixed middleware failure on HTTP 304 - Not Modified responses