Don't set the Content-MD5 header if no body is set.
Follow the middleware chain after env modifications.