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 [:] } }