adding logic to store the response body (if specified via :store-body).