From 101a97a7ba825d7b193c497e3e3cdc74bc687dd6 Mon Sep 17 00:00:00 2001 From: NachoSoto Date: Wed, 30 Mar 2022 14:33:08 -0700 Subject: [PATCH] Added comment --- Sources/Networking/HTTPClient.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Sources/Networking/HTTPClient.swift b/Sources/Networking/HTTPClient.swift index 95c9016169..82432b2b53 100644 --- a/Sources/Networking/HTTPClient.swift +++ b/Sources/Networking/HTTPClient.swift @@ -210,6 +210,8 @@ private extension HTTPClient { return result } else { + // No data if the body was empty, or if status is `.notModified` + // since the body will be fetched from the eTag. return [:] } }