Removes environment variables from http middleware